“(game engine) scripts should say what to do, not how to do it” – badsectoracula reddit.com/r/gamedev/comm
Conversation
Replying to
As I just commented on that reddit post, it sounds very much like declarative programming, ala-haskell/prolog/sql
Replying to
map/filter/reduce style - ie. 'get other people to write your loops for you'
Replying to
@bjzaba_ it is nice to do that sort of thing for terseness sometimes... wishing I had mirven.github.com/underscore.lua/ for c#
1
1
1
Yeah, I hate having accumulator vars cluttering things up. Can be very distracting from the 'what'
Replying to
Oh, I'm not saying that I'd use Haskell or Prolog – just making the connection. I do prefer a declarative style though.
Replying to
I love rust for that reason – you can get pretty declarative without compromising performance.
Replying to
Would be interesting to see what kind of scripting you could lay over the top. (I'm not super experienced though)
Replying to
Mmk. Yeah you're probably right (you have much more experience with it) I'm naive and still have tons to learn. ;)

