1498
you are viewing a single comment's thread
view the rest of the comments
[-] perviouslyiner@lemmy.world 9 points 4 months ago* (last edited 4 months ago)

What they mean is that the variable names and function names are documentation.

For example changing "for( i in getList() )" to "for( patient in getTodaysAppointments() )" is giving the reader more information that might negate the need for a comment.

this post was submitted on 06 Jul 2024
1498 points (100.0% liked)

Programmer Humor

19551 readers
930 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 1 year ago
MODERATORS