Remix.run Logo
▲ cedws 2 days ago

I’m disappointed to see the continued proliferation of JavaScript and TypeScript. I cannot fathom why people are using these garbage languages still when we have so much better options and code is essentially free now.

▲hyperhello 2 days ago | parent [-]

These languages were developed for hypertext. Discord is hypertext. The question is why Rust or C++ or anything would be so suitable for developing chat rooms; it’s not even clear why JavaScript would necessarily be slower after being statically compiled.

▲creata 9 hours ago | parent | next [-]

What special affinity does JavaScript have for hypertext?

▲cedws a day ago | parent | prev [-]

It’s not just about speed. Have you ever come across the utter tire fire that is npm? Or the horrors of [object Object]?

▲hyperhello 21 hours ago | parent [-]

Yes, the first one is not required and shouldn’t be used, write your own leftpad then. The second is about as awful as getting NaN, which is to say not, and can be overridden in the prototype anyway if you want more casual logging.