3 ms·
My first go at lisp was working through SICP. I loved it. But I couldn't see myself using it for a medium-sized project just because static typing is that valua
by default-kramer 9y ago
My first go at lisp was working through SICP. I loved it. But I couldn't see myself using it for a medium-sized project just because static typing is that valuable to me.
Now I'm learning Racket, and Typed Racket feels great so far (despite a few awkward spots). You don't have to sit on that fence; you can switch between typed and untyped code at will.
- flavio81 9y ago>But I couldn't see myself using it for a medium-sized project just because static typing is that valuable to me. See my comment above, you can have static-typing in Lisp with no problem: Type declarations are part of the Common Lisp standard[1], and implementations like SBCL (one of the best Lisp implementations out there, and free) will do static type checking. [1] type declarations: http://clhs.lisp.se/Body/d_type.htm http://clhs.lisp.se/Body/d_type.htm "the" (type specifier for return values): http://clhs.lisp.se/Body/s_the.htm#the http://clhs.lisp.se/Body/s_the.htm#the EDIT: a good example here: https://news.ycombinator.com/item?id=8598149 https://news.ycombinator.com/item?id=8598149
- hellofunk 9y agoAs with my comment about typed racket, I can't really use common lisp in my work, however clojure is very portable and I can use it (as clojurescript) as a first class language on iOS, and Mac, and the web.
- hellofunk 9y agoI would love to use typed racket, but I cannot really use it in the environments I program for, which are largely commercial apps on Apple platforms and mobile. If I could, I would jump to it in a heartbeat.