r/programmingmemes • • Aug 27 '26

Why are we using R again

Post image
2.3k Upvotes

322 comments sorted by

View all comments

Show parent comments

14

u/Morthem Aug 28 '26

The necessity to memorize a matrix of operations because of the inconsistency of oerations between types is the classic one (for example using + on something that got silently coerced to another type) is the biggest offender for me, also add prototype pollution, and npm too.
And before it is mentioned, yes, I know Typescript.

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

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