@[email protected] to Programmer [email protected] • 2 years agoOn this deserted island I could use some help()lemmy.blahaj.zoneimagemessage-square32fedilinkarrow-up11.19Karrow-down113 cross-posted to: [email protected]
arrow-up11.17Karrow-down1imageOn this deserted island I could use some help()lemmy.blahaj.zone@[email protected] to Programmer [email protected] • 2 years agomessage-square32fedilink cross-posted to: [email protected]
minus-square@[email protected]linkfedilink14•2 years 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•2 years agoJust once I want '1' + '2' to equal '3'. Is that so much to ask?
minus-squareMetype linkfedilinkEnglish7•2 years agoYou want to remove the string concatenation operator? Cause that’ll do it
minus-square@[email protected]linkfedilink9•2 years 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.