this post was submitted on 14 Aug 2023
202 points (93.5% liked)

Programmer Humor

31251 readers
1619 users here now

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

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 10 months ago

No syntax errors here, boss.

// Mr. Incredible happy
x += (new Date()).getSeconds()

// Mr. Incredible despair
x /= (new Date()).getSeconds()