@devilish666@lemmy.world to Programmer Humor@programming.dev • 8 months agoIt's always semicolon, God damnit.......lemmy.worldimagemessage-square16fedilinkarrow-up1263arrow-down119
arrow-up1244arrow-down1imageIt's always semicolon, God damnit.......lemmy.world@devilish666@lemmy.world to Programmer Humor@programming.dev • 8 months agomessage-square16fedilink
minus-square@mariusafalink7•8 months agoHow? For real I hate python not having ; and { and depending on tabs and spaces (PAIN)
minus-square@dustyData@lemmy.worldlinkfedilink10•8 months agoPython supports both, it’s just not pythonic. It’s not the way it’s meant to be written but you can write them if you want/are a masochist, because of the syntax’s flexibility.
minus-square@maynarkh@feddit.nllinkfedilink7•8 months agoYou can end any statement in Python with a semicolon, you can also put multiple statements on the same line, putting a semicolon between them.
minus-square@fl42v@lemmy.mllinkfedilink2•8 months agoMay I interest you in https://tushar.lol/post/cursed-for/
How? For real I hate python not having ; and { and depending on tabs and spaces (PAIN)
Python supports both, it’s just not pythonic. It’s not the way it’s meant to be written but you can write them if you want/are a masochist, because of the syntax’s flexibility.
You can end any statement in Python with a semicolon, you can also put multiple statements on the same line, putting a semicolon between them.
You should try ruby.
May I interest you in https://tushar.lol/post/cursed-for/
Nice, my lovely C syntax. Thank you!