Quora Feeds
Active Member
Matt Pickering
Tell whoever said “comments take up memory” to seek other employment because clearly they do not know or understand how to effectively program or know anything about modern technology costs. Storage is dirt cheap especially hard drive space, the only space you’re taking up with comments.
They generate no code.
They aren’t a speed bump to the compiler as its performance is already optimized with comments in code in mind.
They cost little to store. Literally fractions of a cent for all comments given they are text.
But they cost a metric ton in developer time when comments are not present and they need to be!
Self-documenting variable names are one thing. Using meaningful names is a good practice. But we aren’t usually commenting variables! We’re usually commenting code that needs clarification or explanation on what it is doing to ease our maintenance burden later.
I’d find out what the aversion to comments is. That’s a bad team dynamic and usually indicative of deeper issues. The same as a team that insists on comments on every statement. Also equally problematic in the other direction.
See Questions On Quora
Continue reading...
Tell whoever said “comments take up memory” to seek other employment because clearly they do not know or understand how to effectively program or know anything about modern technology costs. Storage is dirt cheap especially hard drive space, the only space you’re taking up with comments.
They generate no code.
They aren’t a speed bump to the compiler as its performance is already optimized with comments in code in mind.
They cost little to store. Literally fractions of a cent for all comments given they are text.
But they cost a metric ton in developer time when comments are not present and they need to be!
Self-documenting variable names are one thing. Using meaningful names is a good practice. But we aren’t usually commenting variables! We’re usually commenting code that needs clarification or explanation on what it is doing to ease our maintenance burden later.
I’d find out what the aversion to comments is. That’s a bad team dynamic and usually indicative of deeper issues. The same as a team that insists on comments on every statement. Also equally problematic in the other direction.
See Questions On Quora
Continue reading...