this post was submitted on 21 Nov 2023
412 points (96.8% liked)

Programmer Humor

32356 readers
1296 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] SpaceNoodle@lemmy.world -1 points 11 months ago (1 children)

It seems much worse to use a setter in an if statement.

[โ€“] xmunk@sh.itjust.works 0 points 11 months ago

Think of it as inline attribution/documentation.