Re:Flags Are a Code Smell (2014)
by eurasiantiger on Sunday May 22, 2022 @01:57AM
(#31465272)
If code doesn’t smell like anything, it probably doesn’t do any heavy lifting.
[ Parent
| on HN ]
Hiding complexity by smearing it out over abstractions and more loc:s is the name of the game.
Re:Flags Are a Code Smell (2014)
by eurasiantiger on Sunday May 22, 2022 @10:24AM
(#31468496)
In my experience, complexity arises from a mismatch between data structure and data usage patterns, and it can be eliminated by changing the data structure to match its usage.