Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Article on why Lisp makes business sense

553 views
Skip to first unread message

Ivan Kanis

unread,
Sep 15, 2012, 2:33:45 AM9/15/12
to
Hello,

I am writing an article explaining why Lisp is useful for business.

http://kanis.fr/lisp.txt

Any feedback will be greatly apreciated.

Ivan Kanis

Frank DG1SBG

unread,
Sep 15, 2012, 6:16:24 AM9/15/12
to
And here is mine (marked "frgo"):

Lisp Makes Business Sense
=========================

I worked with a team of engineers for a telecom company. We were
maintaining a cell phone billing software. Being a very complex
software it took many hours to start.

frgo: Really? Hours to start? Wow, even SAP starts within a couple of
minutes ...

I remember my colleagues working overnight to fix a bug. Imagine the
stress they endured while the company was losing millions of euros.
Now imagine if they were able to find and fix the said bug without
having to restart the software? It sounds too good to be true,
doesn't it? However it's possible with Lisp.

Let me show you a simple example:

(defun hello ()
(message "hello")) ;; frgo: This is not consistent, as I think you
;; are fully aware. #'message not being
;; defined ...

(hello) => "hello"

(defun hello ()
(message "bonjour"))

(hello) => "bonjour"

Do you see what I did? I redefined a function without rebooting my
software. That is really cool! I don't have to waste time compiling or
wait for the program to start. As I improve a function I just need to
evaluate it to try it out.

This is not unique to Lisp. Smalltalk does it too and nowadays it can
be done with any language that uses a symbol to define a function.
However Lisp is so powerful it can even redefine class instances on
the fly.

Let me define two classes to illustrate this:

(defclass class-one () ())
(defmethod method-one ((x class-one)) "I am class 1")
(setf interface-one (make-instance 'class-one))
(member-one interface-one) => "I am class 1"

frgo: Which of course should say
(method-one interface-one) => "I am class 1"


(defclass class-two () ())
(defmethod method-two ((x class-two)) "I'm class 2")

Now I inherit class two of class one. Note that I have no changed the
interface one in any way:

(defclass class-one (class-two) ())
(method-two interface-one) => "I am class 2"

Of course the first method works as expected:

(method-one interface-one) = >"I'm a class 1"

My guess is other language can do this but it would be very difficult to
implement. Indeed a class can be redefined in C++ but existing
instances will behave according to the old definition.

frgo: This is unclear in its message. What has this to do with class
redefinition? (also, English spelling not ok)

The usual critics of Lisp I hear from my colleagues is that it's a
functional language and encourages recursion.

It's partly true. But what is wonderful about Lisp is that it
is multi-paradigm. If you want to do loop instead of recursion fine,
there are constructs such as do, dotimes and loop. If you are more of
a functional programmer you have everything you need map, reduce,
anonymous function, etc... For object oriented programming there is
the Common Lisp Object System (usually called CLOS).

Finally you can program Lisp with macros. Unlike their C counterparts,
they are ways to reprogram the language itself.

I hope I have showed you that things can be done in Lisp that are
difficult to implement in other languages. Now I want to convince you
that not only Lisp is a good technical choice, it also makes business
sense.

Let's get back to my experience at the telecom company. When your
software breaks it's expensive. Doing the usual fixing, compiling
testing is fine for small programs. However when you have critical
enterprise grade software running it is just unacceptable.

Let's see a real world example. Ron Garet observed a team fixing Deep
Space 1 using Lisp. I think his quote is worth meditating on:

"Debugging a program running on a $100 million piece of hardware that
is a 100 million miles away is an interesting experience. Having a
read-eval-print loop (1) running on the spacecraft proved invaluable
in finding and fixing the problem."

If the NASA has put Lisp on a very expensive spacecraft then it is
capable of running your software in an enterprise environment.

When you are dealing with software it would be a benefit when your
engineers learn Lisp. There will be a lot of reticence. After all,
programmers are very fond of their language.

But let's face the truth. It makes sense for your business to spend
less time troubleshooting software in production. You can't afford
losing time and money on critical software.

I hope I have convinced you that Lisp is worth a shot. There are two
books I recommend: The Land Of Lisp by Conrad Barski and Practical
Common Lisp by Peter Seibel which is available as a free download.

frgo: Ok, so by here you have spent 3 minutes with your presentation. If
that's all the time you have the fine. If you have more time then it
certainly would serve your agenda to promote Lisp with some killer
examples that are business relevant: Transpose the NASA example to some
web site running a shop, to some software controlling e.g. a power
plant (but please don't go nuclear here ;-) - or even just a power
transmission grid control software. It would certainly be very nice to
see some examples scling from small to big to show applicability to
every size of business and every type of business.

Just my 2 cents.

Frank

A.L.

unread,
Sep 15, 2012, 12:49:41 PM9/15/12
to
Pure nonsense... Well, maybe French sense of humor... This is the same
like suggesting that Latin language would be good as common languahe
for United Nations.

Whatever mental hocus-pocus you do, you don't change the fact that the
future of Lisp was 40 years ago

A.L.

Pascal J. Bourguignon

unread,
Sep 15, 2012, 1:43:35 PM9/15/12
to
A.L. <lew...@aol.com> writes:

> On Fri, 14 Sep 2012 23:33:45 -0700 (PDT), Ivan Kanis
> <ivan....@googlemail.com> wrote:
>
>>Hello,
>>
>>I am writing an article explaining why Lisp is useful for business.
>>
>>http://kanis.fr/lisp.txt
>>
>>Any feedback will be greatly apreciated.
>>
>>Ivan Kanis
>
> Pure nonsense... Well, maybe French sense of humor... This is the same
> like suggesting that Latin language would be good as common languahe
> for United Nations.

Actually, Latin would be one of the best choices as common language for
the United Nations.

It's was already once the language of everybody on Earth (but the Chinese).

It's the language on which are based most of the languages of South America,
North America, Europe, most of Africa, and now thanks to the Yankee
Imperium in Asia, most of Asia too.

Notice that beside the United Nations, there's another organization that
covers the world, and it's official language is Latin.

--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.

Steve Peter

unread,
Sep 15, 2012, 2:50:31 PM9/15/12
to
"Pascal J. Bourguignon" <p...@informatimago.com> writes:

> A.L. <lew...@aol.com> writes:
>
>> Pure nonsense... Well, maybe French sense of humor... This is the same
>> like suggesting that Latin language would be good as common languahe
>> for United Nations.
>
> Actually, Latin would be one of the best choices as common language for
> the United Nations.
>
> It's was already once the language of everybody on Earth (but the Chinese).

That's not even close to being true.

> It's the language on which are based most of the languages of South America,
> North America, Europe, most of Africa,

Again, not true. Yes, it is the mother of Spanish, French, Portuguese,
Italian, and Romanian, but not the Germanic lanaguages, Greek, Slavic,
Hungarian, Finnish, etc., and that doesn't even get you out of Europe.

Steve

Nils M Holm

unread,
Sep 16, 2012, 1:57:33 AM9/16/12
to
Pascal J. Bourguignon <p...@informatimago.com> wrote:
> Notice that beside the United Nations, there's another organization that
> covers the world, and it's official language is Latin.

Doctors without borders?

--
Nils M Holm < n m h @ t 3 x . o r g > www.t3x.org

Giorgos Keramidas

unread,
Sep 16, 2012, 7:14:51 AM9/16/12
to
On 2012-09-16, Nils M Holm <news...@t3x.org> wrote:
> Pascal J. Bourguignon <p...@informatimago.com> wrote:
>> Notice that beside the United Nations, there's another organization that
>> covers the world, and it's official language is Latin.
>
> Doctors without borders?

Sort of. They do profess to be able to help people recover from medical
maladies, but it's usually with far less effective means than the ones
employed by Doctors Without Borders.

Pascal J. Bourguignon

unread,
Sep 16, 2012, 7:54:29 AM9/16/12
to
Nils M Holm <news...@t3x.org> writes:

> Pascal J. Bourguignon <p...@informatimago.com> wrote:
>> Notice that beside the United Nations, there's another organization that
>> covers the world, and it's official language is Latin.
>
> Doctors without borders?

Roman Catholic Church.

Frank DG1SBG

unread,
Sep 17, 2012, 3:42:50 AM9/17/12
to
Pure nonsense. Well, maybe a distinct kind of Polish humor ... You don't
change the fact that you completely failed to contribute.

Frank

polos...@gmail.com

unread,
Sep 17, 2012, 5:14:59 PM9/17/12
to
informatimago:
> >> Notice that beside the United Nations, there's another organization that
> >> covers the world, and it's official language is Latin.
>
> > Doctors without borders?
>
> Roman Catholic Church.

The interesting thing is:

The more you want to prevent logical/linguistic/profoundly-human-rooted mistakes, the more you need to climb up step-for-step the Real Human Culture Ladder, which started away this (not 'highway):

- Hebrew/Arabic...
- Greek/Latin...
- [...long list cut here...]
- [any sort of Modern Compromise Slang]

Nowadays nobody of us can see/feel/live anymore the profound impact given an ancient Power Language...

Dan K

unread,
Sep 17, 2012, 8:41:37 PM9/17/12
to
On Sat, 15 Sep 2012 02:33:45 -0400, Ivan Kanis <ivan....@googlemail.com>
wrote:
--
Using Opera's revolutionary email client: http://www.opera.com/mail/

Kaz Kylheku

unread,
Sep 17, 2012, 9:42:20 PM9/17/12
to
On 2012-09-15, Ivan Kanis <ivan....@googlemail.com> wrote:
> Hello,
>
> I am writing an article explaining why Lisp is useful for business.

Your article misses the point and is easily dismissed by someone
who promotes language X which has some of the features which you
touch on.

What is great in Lisp is the combination of everything: the sum and total.

It is impossible to give three paragraph executive summary of why Lisp is good
for business, such that this executive summary is convincing.

If you're not working in Lisp, you're bleeding to death from thousands of small
paper cuts, not from any one big gash.

Look, run-time function redefinition could be hacked up in someone's "one
weekend" Lisp interpreter, which probably won't be a mature
development platform.

gavino_himself

unread,
Sep 25, 2012, 6:19:46 AM9/25/12
to
catholic church

Frank Buss

unread,
Sep 29, 2012, 10:47:24 PM9/29/12
to
I don't know, if the NASA project is a good example. Someone might
search for it and might find this webpage:
http://www.flownet.com/gat/jpl-lisp.html

| At one point the software integration engineer was giving his
| presentation and listing all of the things that were going wrong.
| Someone (I don't know who) interrupted him and asked if he could
| change only one thing to make things better what would it be. His
| answer was: get rid of Lisp

And this is what they did: No Lisp in NASA spacecrafts anymore today.
Same problem for two other projects:

http://bc.tech.coop/blog/060118.html

So is there still a project which uses Common Lisp for business? I agree
with the blog: it might be good for startups and if you can find people
who like to program in Lisp, but it might be not good for business in
general.

BTW: currently I'm trying to learn Scala, which feels a lot like Lisp
(there are even Lisp-style macros, experimental at the moment), mixed
with a bit Haskell, but not as pure as Haskell, so easier for me to
write programs in it.

--
Frank Buss, http://www.frank-buss.de
electronics and more: http://www.youtube.com/user/frankbuss

Pascal J. Bourguignon

unread,
Sep 30, 2012, 1:45:00 AM9/30/12
to
Frank Buss <f...@frank-buss.de> writes:

> Ivan Kanis wrote:
>> I am writing an article explaining why Lisp is useful for business.
>>
>> http://kanis.fr/lisp.txt
>>
>> Any feedback will be greatly apreciated.
>
> I don't know, if the NASA project is a good example. Someone might
> search for it and might find this webpage:
> http://www.flownet.com/gat/jpl-lisp.html

Yes, but:
http://www.youtube.com/watch?v=_gZK0tW8EhQ

What went wrong?

* What we lacked was a true understanding of our user's needs.

- Focused on technology, economics, coolness.

- We assumed the user wanted tools to make them more PRODUCTIVE.

- What they really wanted was JOB SECURITY.


> So is there still a project which uses Common Lisp for business?

There's still itasoftware.com, ravenpack.com, siscog.eu, and a few others.

Nils M Holm

unread,
Sep 30, 2012, 2:22:55 AM9/30/12
to
Frank Buss <f...@frank-buss.de> wrote:
> So is there still a project which uses Common Lisp for business? I agree
> with the blog: it might be good for startups and if you can find people
> who like to program in Lisp, but it might be not good for business in
> general.

What I completely fail to see is why its is so terribly relevant
whether or not LISP is good for businesses. If you like LISP, use
it. If you don't like it, don't. If you think your boss should use
LISP for some project, talk to them.

I think LISP can be enjoyed greatly without being successful in
business.

Business is about making stuff cheaply and dependably and selling
it for the maximum profit. So the ultimate product is so shitty
that most customers will still accept it while you charge them
absurd amounts of money. What's so freaking cool about this? Trade
is nothing but subsidized theft. Why is it so important that our
favorite languages plays an active part in it?

I have used LISP (Scheme) maybe two times in my life as a professional.
Both times because it did not matter which lamguage I use. Both times
it was fun, but I guess this would change when I was pressed to create
shitty stuff whose only purpose is to extract money from people.

So why don't you just enjoy coding in LISP and get over the fact
that virtually nobody in industry cares? I, for my part, consider
this to be a good thing.

Frank Buss

unread,
Sep 30, 2012, 2:58:32 AM9/30/12
to
Pascal J. Bourguignon wrote:

> There's still itasoftware.com, ravenpack.com, siscog.eu, and a few others.

Thanks, itasoftware.com looks like a good example:

http://www.itasoftware.com/careers/work-at-ita/ita-engineering.html

And RavenPack is even searching a Lisp programmer:

http://www.ravenpack.com/aboutus/employment.htm#Lisp

So this might be good, too, for the article why Lisp makes business sense.

Ivan Kanis

unread,
Sep 30, 2012, 11:36:50 AM9/30/12
to
Hi Frank,

On Saturday, September 15, 2012 12:17:20 PM UTC+2, Frank DG1SBG wrote:

> And here is mine (marked "frgo"):

Thanks, I have taken account of all your remarks.

> frgo: Ok, so by here you have spent 3 minutes with your presentation. If
> that's all the time you have the fine. If you have more time then it
> certainly would serve your agenda to promote Lisp with some killer
> examples that are business relevant: Transpose the NASA example to some
> web site running a shop, to some software controlling e.g. a power
> plant (but please don't go nuclear here ;-) - or even just a power
> transmission grid control software. It would certainly be very nice to
> see some examples scling from small to big to show applicability to
> every size of business and every type of business.

I will do the research.

Ivan Kanis

unread,
Sep 30, 2012, 11:54:09 AM9/30/12
to
On Sunday, September 30, 2012 8:22:56 AM UTC+2, Nils M Holm wrote:

> Frank Buss wrote:
> > So is there still a project which uses Common Lisp for business? I agree
> > with the blog: it might be good for startups and if you can find people
> > who like to program in Lisp, but it might be not good for business in
> > general.
>
> What I completely fail to see is why its is so terribly relevant
> whether or not Lisp is good for businesses.

Hi Nils,

I think I feel the pain around me with Java and C++ developpers. I would like
to improve the situation by convincing CEO, CTO, etc... to give Lisp a shot.

Take care,

Ivan Kanis

bea...@sdf.org

unread,
Oct 4, 2012, 4:44:14 PM10/4/12
to
Ivan Kanis wrote:
> I am writing an article explaining why Lisp is useful for business.
>
> http://kanis.fr/lisp.txt
>
> Any feedback will be greatly apreciated.

"The usual critics of Lisp I hear from my colleagues..."

I think you meant "critique".

Nice article!

M. Strobel

unread,
Oct 14, 2012, 12:41:13 PM10/14/12
to
Some HTML formatting would be good, this looks like written on a typewriter in the
sixties or seventies.

/Str.

Pascal J. Bourguignon

unread,
Oct 19, 2012, 8:24:45 AM10/19/12
to
And we love it!

Even on startrek, they use the holodeck to be able to type with those
typewriters!


--
__Pascal J. Bourguignon__
0 new messages