Re:Want cleaner code? Use the rule of six
by drewm1980 on Monday September 26, 2022 @03:05AM
(#32980292)
Besides giving a block of code a name, functions also reduce the scope of the data the code can possibly be acting on. They also introduce a namespace that lets symbol names focus on locally relevant information. How did this huge refactoring patch you are describing hold up in code review?
[ Parent
| on HN ]
There are no comments on this comment yet.