less_retarded_wiki

main page, file list, single page HTML, source, report, wiki last updated on 06/07/23

Comment

Comment is part of computer code that doesn't affect how the code is interpreted by the computer and is intended to hold information for humans that read the code (even though comments can sometimes contain additional information for computers such as metadata and autodocumentation information). There are comments in basically all programming languages, they usually start with //, #, /* and similar symbols, sometimes parts of code that don't fit the language syntax are ignored and as such can be used for comments.

Even though you should write nice, self documenting code, you should comment you source code as well. General tips on commenting:


All content available under CC0 1.0 (public domain). Send comments and corrections to drummyfish at disroot dot org.