Cows Look Like Maps to Programmer Humor@programming.dev · 1 year agoBill is a pro grammerimagemessage-square101fedilinkarrow-up1808arrow-down197
arrow-up1711arrow-down1imageBill is a pro grammerCows Look Like Maps to Programmer Humor@programming.dev · 1 year agomessage-square101fedilink
minus-square18107@aussie.zonelinkfedilinkarrow-up8arrow-down1·1 year agoA better comment would be delay in seconds as that is the one thing not obvious from glancing at the code.
minus-squaremagic_lobster_party@kbin.sociallinkfedilinkarrow-up13·1 year agoOr 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.
A better comment would be
delay in seconds
as that is the one thing not obvious from glancing at the code.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.