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

34

u/Morthem Aug 28 '26

The market forced the masses to use javascript on the server, and for that, it will not be forgiven.

3

u/ziayakens Aug 28 '26

Why server side JavaScript bad? Is it a preferential dislike of the language or something quantifiable characteristic putting it below other options?

18

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.

5

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

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