1548
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
1548 points (99.4% liked)

Programmer Humor

19623 readers
1 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