Common programming wisdom says the following:
"Code is read much more often than it is written, so plan accordingly."
Code comments are a powerful tool that make the programs easier to understand later on. In Julia, comments are marked with the # sign. Single-line comments are denoted by a #Â and everything that follows this, until the end of the line, is ignored by the compiler. Multiline comments are enclosed between #= ... =#. Everything within the opening and the closing comment tags is also ignored by the compiler. Here is an example:
julia> #= Our company charges a fixed $10 fee per transaction. =# const flatfee = 10 # flat fee, per transaction
In the previous snippet, we can see both multiline and single-line comments in action. A single-line comment can also be placed at the beginning of the line.
...