Re:John Carmack on Inlined Code
by MichaelGG on Saturday September 27, 2014 @03:26AM
(#8376356)
So I opened up one of my files and found the first instance of this. It was a function to load some subset of data and emit some log info. It was only called once, at the end of a chain of maps and filters.
Once you view functions as values like anything else, then making single-use, "temporary" functions seems as normal as temporary or intermediate variables.
[ Parent
| on HN ]
There are no comments on this comment yet.