@[email protected] to Programmer [email protected] • 1 year agoOn this deserted island I could use some help()lemmy.blahaj.zoneimagemessage-square32fedilinkarrow-up11.18Karrow-down113
arrow-up11.17Karrow-down1imageOn this deserted island I could use some help()lemmy.blahaj.zone@[email protected] to Programmer [email protected] • 1 year agomessage-square32fedilink
minus-square@[email protected]linkfedilink14•1 year agoGuessing at what the programmer wants instead of implementing consistent behaviour is what Javascript does. Do you want Python to become Javascript?
minus-square@[email protected]linkfedilink5•1 year agoJust once I want '1' + '2' to equal '3'. Is that so much to ask?
minus-squareMetype linkfedilinkEnglish7•1 year agoYou want to remove the string concatenation operator? Cause that’ll do it
minus-square@[email protected]linkfedilink9•1 year agoI think every language needs a please operator, which acts to enforce human expectation of a statement: '1' + '1' ## evaluates to '11' please '1' + '1' ## evaluates to '2'
Guessing at what the programmer wants instead of implementing consistent behaviour is what Javascript does. Do you want Python to become Javascript?
Just once I want
'1' + '2'
to equal'3'
. Is that so much to ask?You want to remove the string concatenation operator? Cause that’ll do it
I think every language needs a
please
operator, which acts to enforce human expectation of a statement:'1' + '1' ## evaluates to '11' please '1' + '1' ## evaluates to '2'
I kinda like that
Yes. Yes it is.