Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 4 个月前Brace Stylesh.itjust.worksimagemessage-square157fedilinkarrow-up11.32Karrow-down113
arrow-up11.3Karrow-down1imageBrace Stylesh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 4 个月前message-square157fedilink
minus-square/home/pineapplelover@lemm.eelinkfedilinkarrow-up44arrow-down1·4 个月前I was like, “where are the braces?”. Then, I turned to the right
minus-square/home/pineapplelover@lemm.eelinkfedilinkarrow-up3·4 个月前Wait what? It’s Python? But there are semicolons
minus-squarepetrol_sniff_king@lemmy.blahaj.zonelinkfedilinkarrow-up7·4 个月前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.
minus-squareKnock_Knock_Lemmy_In@lemmy.worldlinkfedilinkarrow-up6·4 个月前Thank you. I couldn’t see the problem. And if this layout is auto generated, maybe I still don’t see the problem.
I was like, “where are the braces?”. Then, I turned to the right
And then I realized it’s python.
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.
Thank you. I couldn’t see the problem.
And if this layout is auto generated, maybe I still don’t see the problem.