devilish666@lemmy.world to Programmer Humor@lemmy.ml · 9 months agoIt's always semicolon, God damnit.......lemmy.worldimagemessage-square29fedilinkarrow-up1386arrow-down117
arrow-up1369arrow-down1imageIt's always semicolon, God damnit.......lemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 9 months agomessage-square29fedilink
minus-squareCarighan Maconar@lemmy.worldlinkfedilinkarrow-up24·9 months agoFor bonus points take their code and completely go wild with utterly random indentation and line breaks, just to drive the point home. 😈
minus-squaretrolololol@lemmy.worldlinkfedilinkarrow-up11arrow-down1·9 months agoPfff just randomly replace tabs with 4 spaces and see the world burn
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up3·9 months ago4 spaces is the preferred pythons is happy with either but the standard is 4 spaces. Vscodium ensures that.
minus-squaretrolololol@lemmy.worldlinkfedilinkarrow-up2arrow-down1·9 months agoYour editor is happy with either, but is it happy with both?
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up1·9 months agoMy editor will take either and convert it to 4 spaces. Python can use spaces or tabs but not both in the same file.
minus-squaretrolololol@lemmy.worldlinkfedilinkarrow-up1·9 months agoBuahahahah I know what to do next commit
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up1·9 months agoIts the python equivalent of a Greek question mark
minus-squaretrolololol@lemmy.worldlinkfedilinkarrow-up1·8 months agoPlot twist https://programming.dev/post/12825985
For bonus points take their code and completely go wild with utterly random indentation and line breaks, just to drive the point home. 😈
Pfff just randomly replace tabs with 4 spaces and see the world burn
4 spaces is the preferred pythons is happy with either but the standard is 4 spaces. Vscodium ensures that.
Your editor is happy with either, but is it happy with both?
My editor will take either and convert it to 4 spaces. Python can use spaces or tabs but not both in the same file.
Buahahahah I know what to do next commit
Its the python equivalent of a Greek question mark
Plot twist https://programming.dev/post/12825985