Common Vernacular

23 Jan 2019

Purpose of Coding Standards

Coding standards are incredibly important for coding. They help not only with the clarity of the code, but also to set a basic framework for you to code around. Without coding standards everyone would develop their own system that would in essence be their own coding standard. Then, when we tried to collaborate, no one would be able to read each other’s code because not only is it in a different standard, but you also have no guarantee that the other persons standard is anything like your standard. This results in lengthening the amount of time it would take to communicate what the code actually did.

Class Standards

Our in class coding standards are non-intrusive, and overall just help to clarify our code for reading. This is similar to how we learn to construct paragraphs in our native language. You don’t just throw a bunch of terms together even if they got the point across because of how unclear such a system would be. Just as with our code, even if it gets the job done, it needs to do so in a clean, and concise manor so as to not waste the time of the person reading the code.

As an Industry

Every industry sets standards for their craft because it helps facilitate the diffusion of their product. As computer sciences have progressed, it only makes sense that standards have been implemented. Imagine a software engineering firm without coding standards. To comunicate the code, they would need both the person who wrote it, and the person who wants to learn from it as without the author the reader would be left deciphering the authors intent. By standardizing the code and making everyone use the same standard, person A now doesnt need person B to understand A’s code because they will be used to the same standard and will waste no time having to translate to their own standard in order to comprehend the code.