HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 1 year agoWhy make it complicated?lemmy.mlimagemessage-square72linkfedilinkarrow-up1266arrow-down134file-text
arrow-up1232arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 1 year agomessage-square72linkfedilinkfile-text
minus-squareBeigeAgenda@lemmy.calinkfedilinkarrow-up14·1 year agoAnd then assign an int to a string just to mess with the interpreter.
minus-squaresbv@sh.itjust.workslinkfedilinkEnglisharrow-up32·1 year agoonly the linter gives a hoot - the interpreter will happily leave that footgun for later
minus-square_stranger_@lemmy.worldlinkfedilinkarrow-up7·1 year agoDude, even just a “FY,I, you sure about this?” would be nice. I gladly embrace python’s by-all-means-shotgun-your-leg-off philosophy, but the noobs could use the help.
minus-squareZiglin (it/they)@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year agoLooks like a snippet of C with two labels that will be referenced by a goto instruction. Very bad code tbh.
python:
a: str = 1
And then assign an int to a string just to mess with the interpreter.
only the linter gives a hoot - the interpreter will happily leave that footgun for later
deleted by creator
Dude, even just a “FY,I, you sure about this?” would be nice. I gladly embrace python’s by-all-means-shotgun-your-leg-off philosophy, but the noobs could use the help.
That’s just a comment
Looks like a snippet of C with two labels that will be referenced by a goto instruction. Very bad code tbh.