3 points
*

Our code base is filled with “//constructor”, “//destructor”, “//assignment”, or the ever enlightening “Foo GetFoo(); // GetFoo”.

This is not what they mean by self-documenting code.

permalink
report
reply
3 points

At work we let Typescript and descriptive naming document our code. Only when something is a workaround or otherwise weird will we add comments. So far it has worked great for us.

permalink
report
reply
16 points

I got a media failed to load error at first and thought that was the joke

permalink
report
reply
2 points

Both jokes can be true 😅

permalink
report
parent
reply
-10 points
*

this is why i very rarely comment with descriptive comments. If you’re reading my code and don’t understand what it is, even with how shit it is, you have no business reading whatever fucking crackpot shit im writing.

permalink
report
reply
7 points

You must be fun to work with.

permalink
report
parent
reply
-2 points

you say this like im the type of person to write code with other people.

permalink
report
parent
reply
3 points

Doesn’t matter. Even if it’s your code, you might revisit something you made months or a year after doing it and having comments will speed up your work. It’s a very basic good practice.

permalink
report
parent
reply
3 points

Fs.?g??yy V>

permalink
report
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 2.5K

    Monthly active users

  • 866

    Posts

  • 14K

    Comments