News for hackers. Stuff that matters.
Re:John Carmack on Inlined Code (2014) by qwertyuiop924 on Tuesday July 19, 2016 @01:30PM (#12123239)
Although I am a fan of the LISP school of program design (minimal global state, build small functions and macros, make sure they work, and than build more functions and macros on top of that, until you have an abstraction that you can build your app on), Carmack raises some interesting points: If you're handling a lot of global, mutable state, you may want to abstract minimally, so that you can see where that state is mutating, which makes bugs easier to spot.

Not a bad idea.

Re:John Carmack on Inlined Code (2014) by mgregory22 on Tuesday July 19, 2016 @02:18PM (#12123646)
Maybe the key idea is to put all the global state mutations as closely together as possible, so they can be compared and contrasted as easily as possible.
Re:John Carmack on Inlined Code (2014) by qwertyuiop924 on Tuesday July 19, 2016 @04:50PM (#12124784)
Well, yeah, that's a big part of it.