3 ms·
Fair enough; I haven't used Haskell but I know intuitively that a Clojure library won't be able to replicate the sophistication of its type system. On the other
by gw 13y ago
Fair enough; I haven't used Haskell but I know intuitively that a Clojure library won't be able to replicate the sophistication of its type system. On the other hand, the dynamic nature of Clojure is what makes REPL-driven game development possible.
I'm willing to give up some type system sophistication in exchange for that, along with access to the JVM, macros, and so on. Carmack may not agree with that trade-off, but like I said, I mentioned him specifically for his endorsement of functional game programming.
- coolsunglasses 13y agoI was an avid Common Lisp and Clojure user for a long time, two years ago I would've agreed with you. You should learn Haskell :)
- Mikera 13y agoI'm actually trying to prototype a language that gets you the best of both: * Clojure style dynamic development * A Lisp (with proper macros, homoiconicity etc.) * Runs on JVM * Can use Clojure libraries unmodified * Static type system (similar to Typed Clojure, but as part of the compiler and driving real optimisations, not just as a separate static analysis tool) Still an early stage experiment right now, but I think it is the right idea: https://github.com/mikera/kiss https://github.com/mikera/kiss
- Flow 13y agoNice work. Have you looked at Shen? It's highly praised by many.