3 ms·
>However, there is also a cost to this behavior. When a new reader encounters this code, they need to jump between many function definitions in many files. This
by rileymat2 7y ago
>However, there is also a cost to this behavior. When a new reader encounters this code, they need to jump between many function definitions in many files. This non-linear reading process requires more mental focus than reading linear code.
I think this is the problem right here. As a new reader you should first trust the function name does what it says it does and continue linearly. Later on, if you need to go back and look at the details or where the function name misleads or does more than it says.