News for hackers. Stuff that matters.
Re:A Theory of Software Architecture by UK-Al05 on Wednesday October 28, 2020 @08:07AM (#24917774)
I haven't read that in awhile. But the argument was around optimisation rather how easy it is to understand.
Re:A Theory of Software Architecture by wsc981 on Wednesday October 28, 2020 @08:24AM (#24917889)
The way I read the article, I believe his main point was to make reasoning about state easier, even at a small cost to performance, making code easier to test and debug.
Re:A Theory of Software Architecture by ratww on Wednesday October 28, 2020 @09:47AM (#24918666)
Not really, Carmack explicitly states that this is not a performance optimisation in the article:

> In no way, shape, or form am I making a case that avoiding function calls alone directly helps performance.

Rather, he argues that (among other things) this is a way to make current bugs more visible and to avoid future bugs by disallowing calling functions that should be inlined.