News for hackers. Stuff that matters.
Re:Cognitive load is what matters by lr4444lr on Wednesday December 25, 2024 @05:55PM (#42511751)
If the variables were clearly named, I wouldn't have to read much at all, unless I was interested in the details. I reitrate: why does the length of the single function with no reuse matter?
Re:Cognitive load is what matters by F-W-M on Wednesday December 25, 2024 @06:24PM (#42511917)
It does not matter if function foo is reused, only if the code inside foo that is to be pulled into new function bar is.