Better HN
topnewbestaskshowjobs
Log inSign up

xenoblitz

1 karma · joined Aug 19, 2009 (17y ago) · 3 submissions

Submissions

comment 17y ago · link · parent

As far as I know there is nothing non-trivial that I had to use apart from introducing state when it was needed by the game via monads and muteable variables. At first they were tricky because I was used to taking such things for granted.

What I can tell you is that the backend (which really needs no state) is much more easier to write in Haskell IMHO.

comment 17y ago · link · parent

All this hinges on the fact that functional languages are only now being appreciated: functional languages seem to be popping up like daisies now either via stand-alone languages such as F#, multiparadigm languages or even in OOP languages (I believe I read somewhere that C# is integrating ideas from the functional paradigm). Still I can't pretend that any functional language has so far become as remotely popular as say Java or C++. Due to this the work done on functional programming and games is quite a niche area which is often explored to do a fun project while learning a language.

comment 17y ago · link · parent

Actually I never said it took me a week :P And I did ask for help because I was learning Haskell as I was implementing the game.