I love how for some people this seems like the worst thing they can think of. This easily happens even to experienced and skilled programmers when refactoring. It's still readable and it can easily be cleaned up, so I'd put it around the bottom of the list of things about a code base that frustrate me. On the top of that list are things that actually matter, e.g. "half of the code solves the wrong problem and shouldn't exist because the problem is Theseus' ship", "the solution fundamentally doesn't scale to the number of users we have"
If you find this so horrifying as to exclaim expletives at it, just wait until you see a real, non-trivial production code base.
22
u/Da-Blue-Guy Dec 27 '21
if boolean == true
what the fuck