1216
Comenting code (lemmy.ml)
(page 2) 50 comments
sorted by: hot top controversial new old
[-] iAvicenna@lemmy.world 4 points 2 years ago

the church of uncle bob would like to speak to you about the sins of commenting.

[-] einkorn@feddit.org 2 points 2 years ago

*furiously waves book around*

[-] JoYo@lemmy.ml 3 points 2 years ago

someone else's code would have the wrong values.

[-] temmink@feddit.org 3 points 2 years ago

Will each level of smaller clocks get one additional hour?

[-] stupidcasey@lemmy.world 2 points 2 years ago

It should have the numbers change in the middle like a digital clock but look like the numbers on a clock.

[-] chautalees@lemmy.world 2 points 2 years ago

When you ask a Dev to test their own code

[-] piko@chaos.social 2 points 2 years ago

@Vordimous Wait for daylight saving time...

[-] Vordimous@lemmy.ml 1 points 2 years ago

Is that when all of the devs write the comments on the line after the code?

[-] russ@cupoftea.social 1 points 2 years ago

@Vordimous @linuxgal when I see this sort of thing when reviewing PRs, I write words to the effect of "tell me WHY it's doing that, not WHAT it's doing". The "what" is usually obvious from the code and thus not worthy of comment. The "why" will enlighten your colleagues (and future you).

load more comments
view more: ‹ prev next ›
this post was submitted on 28 Sep 2024
1216 points (99.1% liked)

Programmer Humor

41902 readers
5 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS