The other day I saw a comment about a way to write some code that shocked me. It was about using uppercase and snake case with constants—LIKE_THIS.
The style of writing constants that way wasn’t what shocked me, as it’s quite common. The shock came from the idea that they felt justified to doing it like that because it was “industry standard” and that, in their many centuries of programming, they had always done it that way. Moreover, it was implied that if we really cared about quality, this “industry standard” had to be followed. I forgot to mention a crucial piece of data, the codebase doesn’t use that style anywhere.
Conventions are just conventions.
Convention: a usual or accepted way of behaving, especially in social situations, often following an old way of thinking or a custom in one particular society.