this post was submitted on 07 Jul 2024
176 points (95.8% liked)

Programmer Humor

32410 readers
252 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
[–] Zucca@sopuli.xyz 17 points 4 months ago (1 children)

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

[–] Blisterexe@lemmy.zip 7 points 4 months ago

Oh man that makes it worse

[–] targetx@programming.dev 4 points 4 months ago

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

[–] crushyerbones@lemmy.world 2 points 2 months ago* (last edited 2 months ago)

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