1559
submitted 1 year ago by [email protected] to c/[email protected]
(page 3) 47 comments
sorted by: hot top new old
[-] [email protected] 3 points 1 year ago

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.

[-] [email protected] 3 points 1 year ago* (last edited 1 year ago)

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.

load more comments
view more: ‹ prev next ›
this post was submitted on 06 Jul 2024
1559 points (99.4% liked)

Programmer Humor

24980 readers
1661 users here now

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

founded 2 years ago
MODERATORS