|
|
|
|
|
by bad_user
5318 days ago
|
|
Carmack works on game engines and a game environment is by definition an environment in which objects have side effects and keep a lot of state. Referential transparency is nice and all, but developing games in this style (while doable with functional reactive programming) is a pain in the ass. Here's a good series of articles about it: http://prog21.dadgum.com/23.html |
|
Even for gameplay code, it could be nice to have explicit tracking of what the mutable state is, to prevent bugs. He has some fascinating slides about this, if you google for "The Next Mainstream Programming Language". Extensive discussion on Lambda the Ultimate here:
http://lambda-the-ultimate.org/node/1277
Definitely one of the most interesting things I've seen in a while.