671
Senior Wisdom (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] ruekk@lemm.ee 7 points 14 hours ago

Self documenting code is a myth as what's self documenting to one person is not to the next. Code comments and process/workflow documentation is needed for a healthy codebase.

[-] jimmux@programming.dev 1 points 7 hours ago

I thought the same, until I spent a few years on a codebase where self-documenting code was enforced with detailed code reviews. That does a very good job of clearing up the ambiguity.

If you can't get that kind of review, then by all means use comments.

this post was submitted on 14 Mar 2025
671 points (98.8% liked)

Programmer Humor

21493 readers
1815 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