Oddbean new post about | logout
 Javascript is a shit language, do better y'all 

 - me after learning go a few weeks ago  
 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. 
 JavaScript is just as missed up as the English language... Yet here we are.


nostr:nevent1qqswt28rx88vjahgqxsccrg72kwjr00e2lqt3r2nkg7h0yrnlqm73zgpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtczyr3vea70ypqr70e2ff2mx28smca78p2c5l2lxd3jlk4wl3exc8ywkqcyqqqqqqg9w46r3 
 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.