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

Programmer Humor

19817 readers
54 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 43 points 4 months ago (2 children)

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

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

And then I realized it's python.

[–] pineapplelover@lemm.ee 3 points 4 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 4 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.