this post was submitted on 28 Jul 2024
1305 points (99.0% liked)

Programmer Humor

23842 readers
2757 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] pineapplelover@lemm.ee 44 points 10 months ago (2 children)

I was like, "where are the braces?". Then, I turned to the right

[–] AlecSadler@sh.itjust.works 10 points 10 months ago (1 children)

And then I realized it's python.

[–] pineapplelover@lemm.ee 3 points 10 months ago (1 children)

Wait what? It's Python? But there are semicolons

They mean that the code is being written like it were python. You can't get rid of the curly braces, but you can shove them all under your bed where mom can't see.

[–] Knock_Knock_Lemmy_In@lemmy.world 6 points 10 months ago

Thank you. I couldn't see the problem.

And if this layout is auto generated, maybe I still don't see the problem.