Re:Simple Ways of Reducing the Cognitive Load in Code
by robmcm on Tuesday June 28, 2016 @10:15AM
(#11993943)
There is also a cognitive overhead when trying to find local variables defined in huge functions, at least when they are split into smaller private (static) methods (with variables passed as arguments) it's easier to track.
Both in the parent method and in the encapsulated child.
Both in the parent method and in the encapsulated child.