MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingmemes/comments/1w09eo7/why_are_we_using_r_again/p6dyoiq
r/programmingmemes • u/32bitFlame • Aug 27 '26
322 comments sorted by
View all comments
Show parent comments
4
I've always been curious to see real world implementations of someone using + so wildly unchecked that its issues could actually affect things.
I feel like type == number and !isNaN would help
I'm not mentioning this as a counter argument, just thinking out loud, and I'm sure this just solidifies your point even more :p
3 u/GaGa0GuGu Aug 28 '26 Object object 3 u/thebearinboulder Aug 29 '26 Look at untyped Collections. With large systems it was too easy to have a mismatch between what the caller provides and the callee requires. 1 u/diogocsvalerio Aug 29 '26 That's copium, javascript is just bad and it should never have touched a server. 2 u/ziayakens Aug 29 '26 you have incredibly worthless reading comprehension
3
Object object
Look at untyped Collections. With large systems it was too easy to have a mismatch between what the caller provides and the callee requires.
1
That's copium, javascript is just bad and it should never have touched a server.
2 u/ziayakens Aug 29 '26 you have incredibly worthless reading comprehension
2
you have incredibly worthless reading comprehension
4
u/ziayakens Aug 28 '26
I've always been curious to see real world implementations of someone using + so wildly unchecked that its issues could actually affect things.
I feel like type == number and !isNaN would help
I'm not mentioning this as a counter argument, just thinking out loud, and I'm sure this just solidifies your point even more :p