this post was submitted on 26 Nov 2023
711 points (89.3% liked)

Programmer Humor

19623 readers
20 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
[โ€“] [email protected] 7 points 1 year ago (1 children)

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

[โ€“] [email protected] 13 points 1 year 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.