Considering how important it is to comment on a code , that question came to me.
I noticed that there are several ways to comment lines / parts of the code :
-
//
-
/* */
-
#
Example:
// comentando uma linha
/* comentando
um intervalo
do código */
# comentando uma linha
Questions:
- Are there other ways to comment?
- Excluding these settings from the example, are there more differences between them ?