Why naming is important As you know, every variable should have a unique name that identifies it. Naming variables can seem easy. However, it is not true. Experienced programmers are very cautious with choosing names for variables, so their code is easy to follow. It is very important, as programmers spend a lot of time reading code written by others. Trust us — your code…
Coding style conventions
Conventions It is a fact that programmers can spend more time reading code written by others than creating it from scratch. That is why it is so important to write clearly and concisely. If you have a team of developers, every line of code should be uniform. In this case, it will be easy to read.
Comments
Here comes a comet… Oh, sorry, a comment – brief but enlightening. So, what exactly are those comments and what do we need them for? Well, essentially, that’s what we call a special text that will be ignored by the compiler. Comments allow you to clarify a piece of code or exclude it from the compilation process (that is, disable it). Throughout this course, we…