devilish666@lemmy.world to Programmer Humor@lemmy.ml · 7 months agoIt's always semicolon, God damnit.......lemmy.worldimagemessage-square28fedilinkarrow-up1376arrow-down117
arrow-up1359arrow-down1imageIt's always semicolon, God damnit.......lemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 7 months agomessage-square28fedilink
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up3·7 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·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
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