this post was submitted on 07 Jul 2024
169 points (95.7% liked)

Programmer Humor

31968 readers
446 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemm.ee/post/36467447

I am not allowed to credit the site that has this disaster. Its owner said "Nobody should see that"

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 3 weeks ago* (last edited 3 weeks ago)

Legit bit of code I saw once getRandomColor() { Random.seed = 0; return Color.blue; }

[–] [email protected] 4 points 2 months ago

I feel this is missing a couple of !important statements :)

[–] [email protected] 16 points 2 months ago (1 children)

I'm offended by the inconsistent placement of curly braces.

[–] [email protected] 7 points 2 months ago

Oh man that makes it worse