Hopefully without casting a negative meta effect, I want to direct attention to this answer from dear paxdiablo
: C state-machine designC state-machine design. It's a design question, definitely a subjective best-practices one, with an answer that rose to the top through a popularity vote. And pax's answer is filled with conjecture and anecdotes, it's far from a Spock-style dry technical precision answer. It's an answer that brings personal (and therefore subjective) experience to the table, it's an answer where the answerer is ultimately citing himself. And yet, isn't it wonderful? This is what I want from stackoverflow! I can do a Google search for many other things. I want to read the thoughts of experienced enthusiasts and pros about their experiences and what worked and didn't work so well for them. Isn't that one of the main things that experienced people can share -- what they personally (and therefore subjectively) found to work well in practice? Am I being too selfish? I've been coding for a very long time but I tend to see programming just as much of an art as it is a science, and that art side can't be so dry, so technical, that we can simply cite every answer and boil everything down to a simple SE metric. It is in those foggy cases where the popularity vote can actually help the most, to help navigate the art and design side of programming where there isn't a perfect black-and-white correct/incorrect distinction.
The highest-frequency question in the tag I often hang out in, c, is this one: Should I cast the result of malloc (in C)?Should I cast the result of malloc (in C)?, which is effectively a best practices question. It seems like a double-standard when these questions are so popular among the community and we refuse to close/delete them while discouraging such questions outright yet nevertheless linking to such questions all the time.