devilish666@lemmy.world to Programmer Humor@programming.dev · 5 months agoIt's always semicolon, God damnit.......lemmy.worldimagemessage-square16fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageIt's always semicolon, God damnit.......lemmy.worlddevilish666@lemmy.world to Programmer Humor@programming.dev · 5 months agomessage-square16fedilink
minus-squaremaynarkh@feddit.nllinkfedilinkarrow-up0·5 months agoJoke’s on you, I use semicolons in Pythpn
minus-squaremariusafa@lemmy.sdf.orglinkfedilinkarrow-up0·5 months agoHow? For real I hate python not having ; and { and depending on tabs and spaces (PAIN)
minus-squarefl42v@lemmy.mllinkfedilinkarrow-up0·5 months agoMay I interest you in https://tushar.lol/post/cursed-for/
minus-squaremariusafa@lemmy.sdf.orglinkfedilinkarrow-up0·5 months agoNice, my lovely C syntax. Thank you!
minus-squaremaynarkh@feddit.nllinkfedilinkarrow-up0·5 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-squaredustyData@lemmy.worldlinkfedilinkarrow-up0·5 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.
Joke’s on you, I use semicolons in Pythpn
How? For real I hate python not having ; and { and depending on tabs and spaces (PAIN)
You should try ruby.
May I interest you in https://tushar.lol/post/cursed-for/
Nice, my lovely C syntax. Thank you!
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.
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.