Y
Hacker News
new
|
ask
|
show
|
jobs
by
ranting-moth
1001 days ago
Code is logic. Comments are wisdom.
1 comments
cjfd
1000 days ago
I have seen many comments that are the opposite of wisdom.
link
ranting-moth
1000 days ago
I have to agree. Even in some cases wisdom went into hiding and applied for witness protection when he saw what was being written.
But I think it's a good phrase to keep in mind when writing comments.
link
mannykannot
1000 days ago
Indeed, and I have also seen much code which does not do what is alleged by the names given to its identifiers.
link
ranting-moth
1000 days ago
And sometimes it severely lacking. I heard of this 5000 line "onClick()" function where most of the program, screaming and yelling, had been forcefully stuffed.
link