HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-21 day agoWhy make it complicated?lemmy.mlimagemessage-square96fedilinkarrow-up1311arrow-down126file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1285arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-21 day agomessage-square96fedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squareBeigeAgenda@lemmy.calinkfedilinkarrow-up19·24 hours agoAnd then assign an int to a string just to mess with the interpreter.
minus-squaresbv@sh.itjust.workslinkfedilinkEnglisharrow-up41·23 hours agoonly the linter gives a hoot - the interpreter will happily leave that footgun for later
minus-squareiarigby@lemmy.worldlinkfedilinkarrow-up4·21 hours agoI wish the interpreter cared about assignment
minus-square_stranger_@lemmy.worldlinkfedilinkarrow-up5·edit-216 hours 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.
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
I wish the interpreter cared about assignment
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