HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-22 days agoWhy make it complicated?imagemessage-square105linkfedilinkarrow-up1338arrow-down133file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1305arrow-down1imageWhy make it complicated?HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-22 days agomessage-square105linkfedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squareBeigeAgenda@lemmy.calinkfedilinkarrow-up22·2 days agoAnd then assign an int to a string just to mess with the interpreter.
minus-squaresbv@sh.itjust.workslinkfedilinkEnglisharrow-up43·2 days agoonly the linter gives a hoot - the interpreter will happily leave that footgun for later
minus-squareiarigby@lemmy.worldlinkfedilinkarrow-up6·1 day agoI wish the interpreter cared about assignment
minus-square_stranger_@lemmy.worldlinkfedilinkarrow-up6·edit-21 day 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