I asked this question and it was put on hold as opinion based in less than an hour. A few months ago, I asked another question about good practices and it got squashed quickly as well. I didn't realize good practices were so opinion based. I thought it was an agreed upon set of standards (unique to each language) that seasoned programmers agreed on.
I'm trying to learn programming, and the Stack Exchange sites are a big source of help. Books don't offer a lot of help about specific best practices. So I figured this would be a good place to get the information from people that write code regularly and really know what is expected and allowed in production code.
Are questions about best practices on topic for Stack Exchange? And if not, why?