News for hackers. Stuff that matters.
Re:Purely Functional Retrogames (2008) by the_af on Monday July 25, 2016 @09:46AM (#12158613)
> But for simple games these are not that useful. Simple games seem very well suited for the imperative, global state model.

Could you elaborate? I think this is one of those things we "know" which isn't necessarily so. Simple sprite-based games can be written using purely functional techniques (see: https://github.com/nikki-and-the-robots/nikki). It's just that it's not common to use FP languages for this.

Re:Purely Functional Retrogames (2008) by ceronman on Monday July 25, 2016 @10:21AM (#12158845)
Yeah, I know you can develop games in a purely functional fashion. My point what is the advantage of doing so, given that most resources are developed for an imperative way. I think the interactive approach taken by Elm is a very good advantage of FP for games.