Re:How to reduce the cognitive load of your code
by bcheung on Tuesday March 29, 2016 @03:55PM
(#11384379)
Make them separate functions each with their own local state or use namespacing. The problem sounds like too much state in a single algorithm. Break it down into subalgorithms each with their own state.
[ Parent
| on HN ]
There are no comments on this comment yet.