1496
you are viewing a single comment's thread
view the rest of the comments
[-] perviouslyiner@lemmy.world 9 points 2 months ago* (last edited 2 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
1496 points (100.0% liked)

Programmer Humor

19197 readers
1726 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