HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-22 months agoWhy make it complicated?lemmy.mlexternal-linkmessage-square99fedilinkarrow-up1323arrow-down131file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1292arrow-down1external-linkWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-22 months agomessage-square99fedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squareBeigeAgenda@lemmy.calinkfedilinkarrow-up20·2 months agoAnd then assign an int to a string just to mess with the interpreter.
minus-squaresbv@sh.itjust.workslinkfedilinkEnglisharrow-up41·2 months agoonly the linter gives a hoot - the interpreter will happily leave that footgun for later
minus-squareiarigby@lemmy.worldlinkfedilinkarrow-up5·2 months agoI wish the interpreter cared about assignment
minus-square_stranger_@lemmy.worldlinkfedilinkarrow-up5·edit-22 months 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