4 ms·
Saying "FP languages" and only giving examples for Lisp is cheating. Lisp has state, it has an imperative-programming mode, and it has well-developed database l
by clock_tower 10y ago
Saying "FP languages" and only giving examples for Lisp is cheating. Lisp has state, it has an imperative-programming mode, and it has well-developed database libraries; it's not monomaniacally FP (and therefore aggressively unhelpful for games) like Haskell is.
(Lisp also has terminology that's much easier to understand than Haskell. What exactly is a monad, again? And why would I care about monads when I already have Java?)
(And also note Bitwize's observation that GOAL is imperative with the option of doing a little FP.)
- jlg23 10y agoWell, sorry, I happen to be a lisp hacker and as such don't regularly follow other FP languages. But I googled it for you: https://wiki.haskell.org/Applications_and_libraries/Games https://wiki.haskell.org/Applications_and_libraries/Games I still don't get the "aggressively unhelpful for games". FP does not mean "no state", just that state is expressed differently.
- clock_tower 10y agoIf you do Lisp, why are you fighting for Haskell? (For the aggressive unhelpfulness of Haskell, I mentioned that Pac-Man project -- and see my other posts in this thread.)
- jlg23 10y agoI don't fight for Haskell, I was hoping for an enlightening answer; since all I got was a referral (not a link) to another comment that again refers to some other thread (again without link) that apparently only provides anecdotal evidence based on one guy's story who had a hard time with his project I call it a day you a troll.
- clock_tower 10y agoCall me whatever you like, just don't make me use Haskell. The language makes my hair stand on end; it feels math-y and determinist, like the triumph of H.G. Wells and B.F. Skinner. I want nothing to do with it, and I fear the consequences if it spreads.
- codygman 10y ago> I fear the consequences if it spreads. What would those consequences be?
- clock_tower 10y agoDeterminism, libertarianism, Science!, that sort of thing. I suspect that Haskell creates a predisposition towards thinking that way...
- sn9 10y agoJohn Carmack ported Wolfenstein 3D in Haskell. And people have written games in Erlang. [0] [0] http://prog21.dadgum.com/23.html http://prog21.dadgum.com/23.html
- jlg23 10y agoOh, I did not know about Carmack's port of Wolfenstein 3D, very neat. Here he is talking about motivations and lessons learned: http://functionaltalks.org/2013/08/26/john-carmack-thoughts-on-haskell/ http://functionaltalks.org/2013/08/26/john-carmack-thoughts-... (Summary: The worst problem he had with the port that he could not motivate himself enough to work on a learning project instead of a current, commercial one.)