Live data from Hacker News

How Lisp is Going to Save the World

landoflisp.com

21–30 of 239 posts

Re: How Lisp is Going to Save the World

#21

Earlier quoted context omitted.

Thank you. Admittedly, I intentionally worded it to look like one :)

Was that with the intent of baiting clicks, or as satire?

Neither - I cannot measure how many times it gets clicked, since it's not my website, and I didn't really mean it in the satirical sense.

I guess I just wanted to see how many points it collects. So far it has exceeded my wildest expectations, although that is mainly due to the content, not the title.

Re: How Lisp is Going to Save the World

#22
post #5

I am a intermediate programmer with just over one year experience. Everywhere I read about the power of lisp and really want to use it. If it is so good why ain't it is used more? It is very easy to get sites running using ASP .NET, wordpress, RoR or Django. I have worked on production sites using the first two. And personally tried on small projects on the last two. Is there a way to use Lisp professionally?

"Everywhere I read about the power of lisp and really want to use it. If it is so good why ain't it is used more?"

In a sense, people are using it more. A lot of features that Lisp pioneered and that used to be radical back in the day (like built-in garbage collection, lambdas, first-class functions, etc) have now been assimilated in to other languages.

As a result, many Lispish things are now pretty mainstream. Not everything about Lisp has caught on, though (yet). In particular, many people are still averse to Lisp's syntax (or lack thereof), and its many parenthesis. Because of this, they're missing out on some of Lisp's most powerful features (lack of syntax and parenthesis are features, as is Lisp's very simple macro system).

Also, a lot of people have a pretty skewed, outdated view of Lisp, often based on rumors of a bad experience with some crippled Lisp they were forced to learn in school.

Very few people who have a very negative impression of Lisp have had much experience with a modern, full-featured implementation of Common Lisp (like SBCL), or Scheme (such as Chicken or Racket).

Those that have quite frequenly describe their experience with them as enlightening and often wish they could use Lisp/Scheme on their day job.

Re: How Lisp is Going to Save the World

#23
post #5

I am a intermediate programmer with just over one year experience. Everywhere I read about the power of lisp and really want to use it. If it is so good why ain't it is used more? It is very easy to get sites running using ASP .NET, wordpress, RoR or Django. I have worked on production sites using the first two. And personally tried on small projects on the last two. Is there a way to use Lisp professionally?

    > If it is so good why ain't it is used more?
My guess is that it's hard to create well-gelled lisp programming teams.

If you're using Java or C#, there are certain ways of going about things, and there's general consensus about this. You can pick up Java code that is written by someone you've never met and have a pretty good idea of being able to work out what's going on.

Something similar with python: whitespace forces a lot of style, and it's backed up by the style guide.

Whereas lisp is completely open-ended. Want to run a large system built entirely from lists? Fine. Want to build an object system tinted by your weird philosophies? Fine. Want to create sophisticated self-modifying code? Fine.

It's a worse version of a problem you have with C++, finding a common subset of things that the team will stick to (or only hiring gurus who are interested in all the quirks and who know the history).

Style arguments within teams are draining, but you need to have commonality to be able to work as a team.

Clojure has some edge here for weird reasons. It discourages recursive techniques because of limitations in the JVM. And, if you're going to be interacting with libraries from other parts of Java, you probably don't want to be acting as funky as you might be tempted to otherwise.

Re: How Lisp is Going to Save the World

#24
post #5

I am a intermediate programmer with just over one year experience. Everywhere I read about the power of lisp and really want to use it. If it is so good why ain't it is used more? It is very easy to get sites running using ASP .NET, wordpress, RoR or Django. I have worked on production sites using the first two. And personally tried on small projects on the last two. Is there a way to use Lisp professionally?

http://blog.reddit.com/2005/12/on-lisp.html

Re: How Lisp is Going to Save the World

#25

Earlier quoted context omitted.

I am not too sure about Lisp in particular (especially there's at least few dialects of it, afaik) but I am currently looking into Clojure and, apart from bending my brain, tossing it into a rubbish bin then fetching and putting it back in, I like it very much. Also, there's a Noir [1] framework build on top of it. [1] http://www.webnoir.org/

Apparently Noir is deprecated in favor of Compojure, according to http://news.ycombinator.com/item?id=5027560 .

I was surprised to hear this, but it's true: http://blog.raynes.me/blog/2012/12/13/moving-away-from-noir/

Re: How Lisp is Going to Save the World

#26
post #19

Earlier quoted context omitted.

Lisp is a multi-paradigm language that's perfectly capable of representing state. Perhaps you're confusing it with some purely functional language like Haskell.

I'm not saying it can't represent state; I'm saying that it promotes avoidance of state as a virtue.

One of the reasons avoiding state is promoted is to make it easier to write robust software. State is too often the enemy of robustness.

Re: How Lisp is Going to Save the World

#27
Superb. I went on to read the sample chapter, which was equally amusing and interesting. I think I'm going to order the book, despite the fact I can't really think of any practical applications for Lisp in my day job - although who knows.

Re: How Lisp is Going to Save the World

#28
post #26

Earlier quoted context omitted.

I'm not saying it can't represent state; I'm saying that it promotes avoidance of state as a virtue.

One of the reasons avoiding state is promoted is to make it easier to write robust software. State is too often the enemy of robustness.

And robustness is often the static plastic bubble that hides in itself, never accomplishing much in the real world.

State is too often the real world.

Mind you, I like robustness. It's like the cinder blocks I use to build my house, each robust and contained in itself. I just can't disregard state when stacking my cinder blocks on top of each other; the flexing and distribution of load is an emergent state that I have to consider when building each cinder block.

Re: How Lisp is Going to Save the World

#29
post #22
post #5

I am a intermediate programmer with just over one year experience. Everywhere I read about the power of lisp and really want to use it. If it is so good why ain't it is used more? It is very easy to get sites running using ASP .NET, wordpress, RoR or Django. I have worked on production sites using the first two. And personally tried on small projects on the last two. Is there a way to use Lisp professionally?

"Everywhere I read about the power of lisp and really want to use it. If it is so good why ain't it is used more?" In a sense, people are using it more. A lot of features that Lisp pioneered and that used to be radical back in the day (like built-in garbage collection, lambdas, first-class functions, etc) have now been assimilated in to other languages. As a result, many Lispish things are now pretty mainstream. Not…

for sure, what folks complain about the most (syntax) is where it's power is.

I've been getting Guile recently and find the very tight integration with C to quite nice. It's like the best of both worlds

Re: How Lisp is Going to Save the World

#30

With the deepest reverence to John McCarthy, I regret to say that Lisp is our cosmological constant. It creates a static universe that is otherwise expanding; it reduces the problem to a solvable one and then declares victory. The truth is, it's all state. All of it. Remember that movie "Boy in the Plastic Bubble," about a boy with an immune system deficiency who lives instead a hermetically-sealed, sterile bubble? T…

I attended TechMesh 2012 in London. The creators of Haskell were there, and there was a number of other Haskell talks. They were almost all about how to model state, I/O, etc. One of the Haskell creators also created Quickcheck, a generative testing tool where tests are written in Haskell. He talked about how he found state related bugs in Riak. Rich Hickey, author of Clojure, was there, he keynoted about state. I'd argue that the whole point of Clojure is to manage state. Specifically, have a model for how to work with the passing of time.

In other words: functional programming and Lisp does not translate to ignoring state.

Post reply on HN