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