Re:Uncle Bob and Silver Bullets (2017)
by layer8 on Monday July 04, 2022 @03:16PM
(#31980715)
The correct way to do this, if it really is a significant simplification, is to factor out the minimal relevant code into a private helper class (or struct) that you instantiate anew for each computation. It then functions like a stack frame you can pass around and share between functions/methods, within private boundaries.
[ Parent
| on HN ]
There are no comments on this comment yet.