this post was submitted on 26 Nov 2023
491 points (89.8% liked)

Programmer Humor

19572 readers
1418 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
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] 18107@aussie.zone 6 points 11 months ago (1 children)

A better comment would be delay in seconds as that is the one thing not obvious from glancing at the code.

[โ€“] magic_lobster_party@kbin.social 10 points 11 months ago

Or just name the variable delaySeconds if you really want to store it as an int. Bonus is that every use of the variable perfectly communicates what it is.