Languages Will Be Languages

08 Feb 2024

Language = Language

I like to think of programming being another type of “language”. I mean, I guess that’s why they call things like JavaScript, C++, Python, etc. programming “languages”. I may have stated the obvious, but the learning process of languages and programming languages do share some similarities. Both require you to learn and follow a set of “guidelines”. That’s where I feel like coding standards come into play and is crucial to one’s coding capabilities.

But let’s take a step back and think about languages for a second. You may come to realize that not only are the words different, but also the way that each of them are structured. For example, right now I’m learning Japanese and it’s a bit more difficult to comprehend some of the sentence structures with English being my native language.

英語 VS 日本語(Eigo VS Nihongo/English VS Japanese)

A quick comparison between the two would be that Japanese sentences are structure as Subject-Object-Verb, while English sentences are structured as Subject-Verb-Object. Now, that might not sound like a big deal. Just swap the verb and object then BOOM, you know Japanese. But when it comes to the more advanced sentences, the things that seemed trivial come to light and show just how important they are. The intricate details like these things called Japanese particles, with most just being one or two Japanese characters, support the subject, object, and verb in various ways. The order of particles is very important and can have different meanings depending on the context or ways that it’s implemented.

This isn’t a Japanese class though, so why am I bringing up all that mumbo jumbo now? Well, in a way, I see programming and coding standards in a similar way as using/learning Japanese. Each language (the non-programming ones) has its own structure and is taught to everyone with the same standards so that people can understand and converse with each other easily. That seems very relatable to what the goal is of a programmer. To produce code that is easily understandable. Mastering proper coding etiquette, or in other words, coding standards, will be crucial to reaching that goal.

Thoughts on Coding Standards

I feel that learning about coding standards is very important, especially when learning a new programming language. All the “trivial” things like how many spaces to indent, or whether you place the close-curly-brace on a new line by itself will make a code easier to read. Just like writing this essay and not using more or less spaces than needed between each word. I used trivial with quotation marks because they really do seem like it wouldn’t matter too much. Just like the Japanese particles I mentioned earlier. But to me, all the things that seem “small” will, in the end, support the rest of the code and make it easier to read and should not be overlooked.

The introduction to this article that I found about “Coding Standards and Best Practices to Follow” is exactly how I feel about the importance of coding standards.

“Coding standards are a set of guidelines and best practices that are used to create consistent, high-quality code. Consider coding standards as rules, techniques, and best practices to develop cleaner, more readable, and more efficient code with minimal errors. They offer a uniform format for software engineers to build sophisticated and highly functional code.” - Shreya Bose

Welcome to IntelliJ + ESLint

This first week of using ESLint with IntelliJ has been a good experience and has helped since I’m still trying to get used to some of the new syntaxes for JavaScript ES6. Having this kind of tool is a good way to practice coding standards and start developing good habits. I want to learn how to properly use programming languages, and with that comes learning coding standards. This goal, in concept, is just like my goal for Japanese. I want others to be able to easily understand my intentions and help make cooperating with others go as smoothly as possible.