Re:Flags Are a Code Smell (2014)
by tbrownaw on Sunday May 22, 2022 @12:00AM
(#31464777)
Most of the individual boolean flags in the code I work with are retrieved on-demand from a feature-flag store. Well, aside from the dryRun flag that a lot of utility things take.
But this actually seems to be talking about having object state represented internally as a pile of flags when something more semantically meaningful is available.
But this actually seems to be talking about having object state represented internally as a pile of flags when something more semantically meaningful is available.