Hacking, Coding and Gaming | @[email protected]

This is how NOT to comment your code:

#addCreditCard
function addCreditCard(){
... code removed ...
//-------------------------------------------------------------------------
#addBankAccount
function addBankAccount(){
... code removed ...
//-----------------------------------------------------------
#deleteCreditCard()
function deleteCreditCard(){
... code removed ...
//-----------------------------------------------------------------
#deleteBankAccount()
function deleteBankAccount(){
... code removed ...

Now I totally understand that for doc-generating programs, and certain IDEs, you're meant to put comments above your functions describing them and the parameters use... but who does this (above)? Are you really so stupid that you need to put the function's name in a comment above... the function's name?

You, sir, should not be coding.