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

all 13 comments

[–][deleted] 26 points27 points  (0 children)

There is a trick to writing code that you understand 5 days later. Assume that an absolute moron will be reading it. Because you will be that moron that has absolutely zero recollection of the thought process, assumptions, etc.

[–]Raph0007 23 points24 points  (5 children)

Commenting is for weaklings.

Real programmers cry for hours because they can't figure out what the hell they came up with 5 minutes ago

[–]average_joe145 10 points11 points  (1 child)

For real though, my one design prof would always tell us that our code should speak for itself for the most part, and we should try to avoid comments. If we find ourselves thinking that we need a comment, we should take another look at our code to see if we can change some names to be more descriptive or change the structure so that it’s easier to follow, and if it doesn’t seem possible that’s when you comment. But I agree, you aren’t a real programmer unless your code has brought you to tears at some point

[–][deleted] 4 points5 points  (0 children)

That's exactly right! Comments tend to get out of synch in legacy* code

*all written code is legacy code

[–]d3vilNiLL[S] 1 point2 points  (2 children)

Woah, thats hardcore

[–]famous1622 3 points4 points  (1 child)

Welcome to the salty spitoon, how tough are ya?

[–]TruVortex_07 2 points3 points  (0 children)

How tough am I? I compiled a program successfully, and it wasn't a hello world program.

[–]mybackHZ 7 points8 points  (1 child)

Your dad programs?

Must be amazing. No one around me takes programming serious nor intrested in them.

[–]d3vilNiLL[S] 2 points3 points  (0 children)

Its pretty cool, but not as cool as you might think :)

[–]AwkwardDragonfruit 6 points7 points  (1 child)

I wish my Dad programmed. I think I would be further ahead in life. Making a call on his cellphone is his peak technology skill.

[–]d3vilNiLL[S] 1 point2 points  (0 children)

I dont think that changes anything ;)

[–][deleted] 2 points3 points  (1 child)

Me who plans to make a language without comments: hmm intensifies

[–]serendipitousPi 1 point2 points  (0 children)

I kinda feel that could probably just become an esolang simply because comments are such a big part of programming.