this post was submitted on 07 Jul 2024
13 points (100.0% liked)

Programmer Humor

35334 readers
1 users here now

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

Rules:

founded 6 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 3 comments
sorted by: hot top controversial new old
[–] crushyerbones@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

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

[–] Zucca@sopuli.xyz 2 points 1 year ago

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

[–] targetx@programming.dev 1 points 1 year ago

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