Cows Look Like Maps to Programmer Humor@programming.dev • 7 months agoBill is a pro grammersh.itjust.worksimagemessage-square99fedilinkarrow-up1800
arrow-up1800imageBill is a pro grammersh.itjust.worksCows Look Like Maps to Programmer Humor@programming.dev • 7 months agomessage-square99fedilink
minus-square@18107@aussie.zonelinkfedilink8•7 months agoA better comment would be delay in seconds as that is the one thing not obvious from glancing at the code.
minus-squaremagic_lobster_partylinkfedilink13•7 months 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.