Writing documentation takes time and often no one reads it after you, so it is a good practice to write comments directly in the source code. However, a lot of text unnecessarily clutters up the code, which then may not fit on the monitor at the…
To keep the code in order, it is important to choose clear rules for how we derive names. This page serves as an overview of the relatively popular approaches used by a large number of programmers, including myself and people I work with.
If you…
To keep the code easy to read for other programmers and to keep it elegant, we need to learn to format it uniformly. This article discusses the use of spaces and tabs.
Are spaces or tabs better for indenting code? This is often an endless topic for…
You can use either quotes or apostrophes to delimit strings. I personally prefer only apostrophes unless it is a special line break character or tab.
There are a number of reasons for this, let's go through them constructively.
The main reason not…