Re:Flags Are a Code Smell (2014)
by jef_leppard on Sunday May 22, 2022 @01:32AM
(#31465149)
Yep. You said it better than I could. There are a lot better ways to do control flow than passing in a flag. Inversion of control being another great example.
[ Parent
| on HN ]
There are no comments on this comment yet.