Louis Davidson has a list of red flags in code:
I still feel like garbage, so I decided just a simple list would do. I will also preface this by saying each item could include “without a coherent comment.”
Everything on this list fills me with dread unless I read someone say: “Such and such was needed because the optimizer wouldn’t….” and then I at least know why they believed needed it.
Click through for Louis’s list. Most of these aren’t bad things per se, but they do serve as signs of a potential deeper issue.