Feb. 22nd, 2008

tn3270: (Default)
Am working on a new consulting gig, which is going pretty well. The code is a website, and like any large code base that has been modified by many people under time pressure over the years, it has its good and bad points. However, I keep seeing something that is a pet peeve: large chunks of code that are commented out, with no comment explaining why the code is commented out. I really do not think this adds anything. It also makes me wonder was something accidentally left commented out, or should the code have been deleted. There has been turnover in staff, and there is no one to ask. Have decided to delete most of it. Years ago, I worked with a tech writer who used to say "when in doubt, delete it out". That certainly applies here.

Profile

tn3270: (Default)
tn3270

January 2016

S M T W T F S
     12
3456 789
10111213141516
17181920212223
24252627282930
31      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 12th, 2025 07:01 pm
Powered by Dreamwidth Studios