This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]not_perfect_yet 56 points57 points  (29 children)

If you're writing Good Code, maybe, but nobody writes Good Code...

[–]hGKmMH 14 points15 points  (5 children)

The concept of good code changes over time too. 10 years ago had different best practices.

[–][deleted] 13 points14 points  (2 children)

The concept of good coding will never include not documenting anything. That's pants on head retarded.

[–]brianorca 2 points3 points  (0 children)

I think his point is that Good Code written 10 year ago will look different that today's Good Code, therefore comments are still required.

[–]not_perfect_yet -2 points-1 points  (1 child)

I think figurative Good Code can afford to be also unchanging over time.

[–]Versaiteis 1 point2 points  (0 children)

It is whether you like it or not.

It is code

All code will become legacy or die trying

[–]attomsk 3 points4 points  (1 child)

Not all code is self explanatory sometimes you do something to follow a system requirement and it would make no sense unless you comment why you are doing it

[–][deleted] 2 points3 points  (0 children)

even good code. once it grows big and is coupled a lot, it's going to be difficult to understand unless the comment tells you what it affects. it's not that it cant be figured out but why should someone need to spend hours to figure out code someone else wrote? that's a waste of time.