602
No comment (lemmy.nz)
you are viewing a single comment's thread
view the rest of the comments
[-] RustyNova@lemmy.world 12 points 2 weeks ago

Sometimes I rather have a slop library with an actual documentation of what my function does than mystery function #920 that is actually critical to the thing. The mystery function is actually self documenting you see, but you need to search for examples in the code to actually know what it does.

I do both comments and self documenting code, as self documenting code doesn't work without context

this post was submitted on 25 Sep 2026
602 points (98.9% liked)

Programming Humor

3506 readers
2 users here now

Related Communities !programmerhumor@lemmy.ml !programmer_humor@programming.dev !programmerhumor@kbin.social !programming_horror@programming.dev

Other Programming Communities !programming@beehaw.org !programming@programming.dev !programming@lemmy.ml !programming@kbin.social !learn_programming@programming.dev !functional_programming@programming.dev !embedded_prog@lemmy.ml

founded 3 years ago
MODERATORS