devilish666@lemmy.world to Programmer Humor@lemmy.ml · 8 months agoIt's always semicolon, God damnit.......lemmy.worldimagemessage-square22fedilinkarrow-up113arrow-down11
arrow-up112arrow-down1imageIt's always semicolon, God damnit.......lemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 8 months agomessage-square22fedilink
minus-squareCarighan Maconar@lemmy.worldlinkfedilinkarrow-up1·8 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-up1arrow-down1·8 months agoPfff just randomly replace tabs with 4 spaces and see the world burn
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up1·8 months ago4 spaces is the preferred pythons is happy with either but the standard is 4 spaces. Vscodium ensures that.
minus-squaretrolololol@lemmy.worldlinkfedilinkarrow-up1arrow-down1·7 months agoYour editor is happy with either, but is it happy with both?
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up1·7 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·7 months agoBuahahahah I know what to do next commit
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up1·7 months agoIts the python equivalent of a Greek question mark
minus-squaretrolololol@lemmy.worldlinkfedilinkarrow-up1·7 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