News for hackers. Stuff that matters.
Re:Problems with Lisp by lgriffith on Sunday January 25, 2009 @03:21PM (#449455)
The issue is that there is no one solution for all problems and all contexts. ANY given language was written in response to a given set of problems in a given set of contexts. Change one thing to be outside that domain and the fit is less good. Change almost everything and the fit is a misfit.

For example: a 5 lb slege hammer is a very good tool for breaking rocks. Now fix a Rolex Watch with it. Its not so good of a tool, is it?

The answer is understand the problem and its context. Then select the tool that fits good enough (YMMV). Otherwise you will soon find yourself in a world of hurt and still not have a good solution to your problem.

I am sure Lisp has a problem set and a context set for which its a good match. Though I haven't found it yet but then I really haven't looked. The tools I use are good enough for the problems and contexts I have encountered in over 40 years of software development. Thus I have no reason to hammer my head against the rubber wall of Lisp as well as approximately 900 other languages.

Re:Problems with Lisp by Hexstream on Sunday January 25, 2009 @10:11PM (#449947)
40 years of software development? I can't help but laugh at your mentioning it as if it really means anything and makes your "arguments" carry more weight.
Re:Problems with Lisp by Retric on Sunday January 25, 2009 @03:50PM (#449499)
Lisp is the best language for generating HTML, XML, writing compilers, or parsers.

PS: Lisp is more a family of languages that share features than it is a specific language.

Re:Problems with Lisp by chollida1 on Sunday January 25, 2009 @04:42PM (#449584)
> , writing compilers, or parsers.

I think the OCaml guys and the Haskell guys(Parsec) might take exception to this.

See: http://flint.cs.yale.edu/cs421/case-for-ml.html http://www.ffconsultancy.com/ocaml/benefits/parsing.html

It's not that CL is bad for writing compilers or parsers (I've written a few parsers using it), its just that blanket statements like "Lisp is the best language for ..." isn't always going to be true.

Re:Problems with Lisp by malkia on Sunday January 25, 2009 @11:33PM (#450021)
Anything coming from Jon Harrop is questionable (ffconsultancy.com)
Re:Problems with Lisp by Retric on Sunday January 25, 2009 @09:19PM (#449902)
Some things come down to personal preference, but I don't think OCaml's static type system is more useful than Lisp's approach for parsers / compilers. Granted if your building avionics then type safety is important, but in the more normal case it's just not that useful.

Haskell is a pure functional language which is great for maintaining systems but I don't think it's a real benefit when writing them. If you want to write Lisp as a functional Language you can but when it's useful to break that mold you can.

PS: There is probably a better language out there for this stuff, but I don't know of it.

Re:Problems with Lisp by lgriffith on Sunday January 25, 2009 @06:03PM (#449673)
Hince my reference to good enough and rubber wall of Lisp. Lisp is not one thing. Its a collection of collections of things capable of being indefinitely morphed by itself. ANSI C is bad enough without those kinds of problems.

Incidentally I have written several efficient and effective parsers and compilers in both Pascal and ANSI C. I found them quite good enough. I have a hard time seeing Lisp as little more than a big brother to Forth. I see both of them as wonderful solutions to the wrong problems. At least to probelms I don't have nor want to solve.