News for hackers. Stuff that matters.
Re:Flags Are a Code Smell (2014) by jimjimjim on Saturday May 21, 2022 @08:48PM (#31463785)
flags are fine. If they reduce complexity. Is it easier to add a comment about what the flags do for the next dev than describe the other structures to avoid the flags? You won't the last dev to touch that code. Write the simplest thing possible.

There are no comments on this comment yet.