Re:John Carmack on Inlined Code
by tcoville on Wednesday October 09, 2024 @03:45PM
(#41791866)
This is a heavily simplified version of what I'm suspecting he's trying to portray, key this wouldn't be useful for utility functions like string manipulation but more business logic being used across similar functions:
Could become:
[ Parent
| on HN ]
Re:John Carmack on Inlined Code
by fluoridation on Wednesday October 09, 2024 @04:33PM
(#41792332)
That... looks decidedly worse. Now you have fewer functions that need to be concerned with multiple unrelated things for no reason.