devilish666@lemmy.world to Programmer Humor@lemmy.ml · 8 months agoIt's always semicolon, God damnit.......lemmy.worldimagemessage-square29fedilinkarrow-up1379arrow-down116
arrow-up1363arrow-down1imageIt's always semicolon, God damnit.......lemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 8 months agomessage-square29fedilink
minus-squaretrolololol@lemmy.worldlinkfedilinkarrow-up11arrow-down1·8 months agoPfff just randomly replace tabs with 4 spaces and see the world burn
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up3·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-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
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