Commenting Code
Possibly the most important part of any programming file!
// Two 'forward' slashes create a single line comment.
/*
Slash star allow for a block comment
These are more versatile and allow you to put larger, multi-line comments.
It is important to note that a comment or block comment can also be used
to make code "invisible" to the compiler. This helps when testing or
debugging.
*/
// The following line was removed because it breaks things
// System.out.something.that.breaks(someInput);
/* ************************************************************************
* Some programmers even use the asterisk to highlight certain comments. *
* Although most good coders find that annoying and unprofessional *
*********************************************************************** */# This would be a comment line
x = 17 # A nice prime number
"""
This is a multi-line comment in Python. The triple-double, as I just
started calling it in my head. Just now.
Similar to other languages, it is useful for larger comments or commenting
out a large chunk of code.
"""Last updated