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

Programmer Humor

32361 readers
497 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 3 months ago (1 children)

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

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

Oh man that makes it worse

[–] targetx@programming.dev 4 points 3 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; }