Re:I finally understand why I'm not allowed to use Lisp
by ddkrone on Saturday February 19, 2011 @09:07PM
(#2240708)
The only benefit I'm aware of is slightly faster code and even then the dynamic version is almost always more readable and easier to maintain and refactor. The ideal would be a dynamic language with optional static typing but I have yet to see a language like that.
[ Parent
| on HN ]
Re:I finally understand why I'm not allowed to use Lisp
by overgard on Sunday February 20, 2011 @09:04AM
(#2241861)
"slightly faster" is a bit understated, you're usually talking about statically typed languages being an order of a magnitude faster for things that are computationally expensive. Granted most things aren't, so for a web page or whatnot, it probably doesn't matter; and certainly the expressive ability you gain from dynamic languages might be worth the trade off. But the trade off is undeniably there.
(Try comparing various languages here: http://shootout.alioth.debian.org/u32/benchmark.php?test=all... if you don't believe me)
Some dynamically typed languages can approach the speed of static languages, like Lisp, but they generally do that by introducing voluntary static typing hints, or having a JIT compiler introduce speculative code paths that guess the types coming in after some analysis.
Re:I finally understand why I'm not allowed to use Lisp
by siika2000 on Sunday February 20, 2011 @03:28AM
(#2241413)
> The ideal would be a dynamic language with optional static typing but I have yet to see a language like that.
That would be Common Lisp.
Re:I finally understand why I'm not allowed to use Lisp
by stcredzero on Sunday February 20, 2011 @11:27AM
(#2242213)
That would be Common Lisp.
There was such a version of Smalltalk called Strongtalk, but it never got a community behind it.
Re:I finally understand why I'm not allowed to use Lisp
by igouy on Tuesday February 22, 2011 @03:06PM
(#2251288)
Actually - "but then the Java phenomenon happened and we eventually had to switch to Java before ever releasing it".
Re:I finally understand why I'm not allowed to use Lisp
by davidk0101 on Sunday February 20, 2011 @05:24AM
(#2241582)
I'm waiting for perl 6.
Re:I finally understand why I'm not allowed to use Lisp
by SapphireSun on Sunday February 20, 2011 @12:37AM
(#2241143)