HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-219 days agoWhy make it complicated?lemmy.mlimagemessage-square74fedilinkarrow-up1315arrow-down135file-text
arrow-up1280arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-219 days agomessage-square74fedilinkfile-text
minus-squareBeigeAgenda@lemmy.calinkfedilinkarrow-up16·19 days agoAnd then assign an int to a string just to mess with the interpreter.
minus-squaresbv@sh.itjust.workslinkfedilinkEnglisharrow-up38·19 days agoonly the linter gives a hoot - the interpreter will happily leave that footgun for later
minus-square_stranger_@lemmy.worldlinkfedilinkarrow-up5·edit-218 days 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·16 days 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.