Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
DaTroof
Nov 16, 2000

CC LIMERICK CONTEST GRAND CHAMPION
There once was a poster named Troof
Who was getting quite long in the toof

Volguus posted:

On the other hand, it could be argued that commenting code during development is a habit that should go away. With distributed version control systems it is easier than ever to commit anytime you want, revert, commit again, etc., therefore making the deletion of code a much more viable and preferable option, as it reduces the probability of "junk" littering your project.

On the other hand, i don't commit that often either and during crunch "this loving thing doesn't wanna work" sessions, commenting out code comes out more naturally.

There's nothing wrong with commenting code for testing purposes while you're actively working on it. Committing it that way is another story.

Adbot
ADBOT LOVES YOU

  • Locked thread