1001010.com

one zero zero one zero one zero dot com
one hundred ten ten dot com
binary representation of ascii 'J' (74) dot com

home code projects photos wiki resumé tombstone ?
Individual Entry Archive: The Experiments of Jason De Arte - Evil Lawn Dart Master, Toy Maker and Professional Software Engineer
« prev: Things I dislike: Hard-coded variable menu items
» next: Things I dislike: Hard Coded IP Addresses
Code | Tuesday
Things I dislike: Copy'n'Paste Comments
Posted by Jason on Tuesday September 13, 2005 02:04 PM  |  Permalink  |  Comments (0)

OK, I get it - you copied a function that did 75% of what you want to accomplish and updated it to do your evil bidding.

But why then did you keep the original function comment???

it would be as if you had the code....


// Sometimes we need have someone else multiply radius by two
bool getDiameterFromRadius(float radius, double & rDiameter) { ... }

And somebody copied the function to do something else....


// Sometimes we need have someone else multiply radius by two
bool getCircumferenceFromRadius(float radius, double & rCircumference) { ... }

AND LEFT THE SAME COMMENT IN PLACE.

.ugh.

Comments (0)

Comments are closed