devilish666@lemmy.world to Programmer Humor@lemmy.ml · 8 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 · 8 months agomessage-square29fedilink
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·8 months agoYour editor is happy with either, but is it happy with both?
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up1·8 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·8 months agoBuahahahah I know what to do next commit
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up1·8 months agoIts the python equivalent of a Greek question mark
minus-squaretrolololol@lemmy.worldlinkfedilinkarrow-up1·8 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