☆ Yσɠƚԋσʂ ☆ to Programmer Humor@lemmy.mlEnglish • 1 month agoJavaScriptlemmy.mlimagemessage-square26arrow-up1177cross-posted to: programmer_humor@programming.dev
arrow-up1177imageJavaScriptlemmy.ml☆ Yσɠƚԋσʂ ☆ to Programmer Humor@lemmy.mlEnglish • 1 month agomessage-square26cross-posted to: programmer_humor@programming.dev
minus-squarepropter_hog [any, any]linkfedilinkEnglish22•1 month ago+ is overloaded for string concatenation, but - isn’t so the interpreter coerces the “11” into a number first.
minus-square@vfreire85@lemmy.mllinkfedilink2•1 month agowe have a concept for that in brazilian portuguese. it’s called “gambiarra”.
+
is overloaded for string concatenation, but-
isn’t so the interpreter coerces the “11” into a number first.yup
we have a concept for that in brazilian portuguese. it’s called “gambiarra”.
Thanks for the explanation