4 ms·
There's one thing severely lacking in lisp: compile time type checking! IMO Haskell has the best typing system I've seen in a language so far. TypeScript is p
by hasenj 10y ago
There's one thing severely lacking in lisp: compile time type checking!
IMO Haskell has the best typing system I've seen in a language so far.
TypeScript is probably a close second (it kinda has to be as flexible and powerful as possible, to accommodate as much existing javascript code as possible).
- Jach 10y agoCommon Lisp supports compile time type checking: https://news.ycombinator.com/item?id=11529039 https://news.ycombinator.com/item?id=11529039 Have you seen Shen? http://shenlanguage.org/ http://shenlanguage.org/
- wtbob 10y ago> There's one thing severely lacking in lisp: compile time type checking! Lisp does have compile-time type checking; see my comment: https://news.ycombinator.com/item?id=11699581 https://news.ycombinator.com/item?id=11699581
- TeMPOraL 10y agoBut (Common) Lisp does have compile-time type checking, and uses it to great success for both ensuring programming safety and generating optimized code comparable in efficiency to C! That said, I agree the CL's type system is nowhere near as good as Haskell's.