Javascript is a shit language, do better y'all

- me after learning go a few weeks ago

Reply to this note

Please Login to reply.

Discussion

Why?

Slow

Unstable

Ugly

Doesn't know the difference between null and undefined

Slow - true

Unstable - false

Ugly - maybe write better

Doesn't know the difference between null and undefined - `===` is your friend

😉

Function signatures are more of a suggestion. You can call a function with any number of arguments and with arbitrary types. And you can add strings to ints but multiplication gives NaN. Lots of arbitrary design choices.

Try blasting a nodejs server with 1000 req per second and you'll see the stability issues I'm talking about

using a different JavaScript runtime than nodejs would yield a completly different result. Heard of bun?

Surprised to see JavaScript being suggested as ugly compared to go. Wouldn't be one of the disadvantage of JavaScript IMO.

The Soul of Erlang and Elixir

https://youtu.be/JvBT4XBdoUE

I feel similar comparing Go and Rust, although that's sure to generate hate

C++ FTW! I love having a million ways to blow up my own feet. And also soooooo many ways to tell if code was produced by a noob. 😂

Javascript makes my eyes bleed.