PDA

View Full Version : How to comment



Petr Schreiber
24-07-2017, 08:04
Hi,

comments in code - some like them, some need them, some hate them...

In thinBASIC you can do both single line comments and multi line ones:


' I am single line

/*
I am
multi
line
*/


...but when does it make sense to comment? Check the article from Google, it has some good points:
https://testing.googleblog.com/2017/07/code-health-to-comment-or-not-to-comment.html


Petr