Skip to content

Instantly share code, notes, and snippets.

@b3457m0d3
Created April 13, 2014 16:24
Show Gist options
  • Save b3457m0d3/10590945 to your computer and use it in GitHub Desktop.
Save b3457m0d3/10590945 to your computer and use it in GitHub Desktop.
how to comment in your code (java)
coding is a long and arduous process. make things easier on yourself by leaving "breadcrumbs"
small comments can save you the time it would take to figure out where you last left off
they can also be useful as placeholders and TODO items
this is a standard single line comment
//everything on this line will be ignored by the compiler
this is a standard multi line comment
/*
* everything between the start and end is ignored by the compiler
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment