38% of bugs at Airbnb could have been prevented by using types
Relatively recently I&#x27;ve adopted the stance that JS (via V8+NodeJS) has the best feature set of the &quot;scripting language&quot; tier of interpreted programming languages, assuming ecosystems for your problem are comparable. The combination of compile time type-checking support (via Typescript), parallelism support (recently in v11 w&#x2F; worker threads), and built in async IO paradigms give Node a huge leg up over ruby, python, and perl.<p>Weirdly enough, JS is the best in my opinion precisely because it does so much to <i>not</i> be itself. The crazy iteration speed of the JS ecosystem means that people have done crazy things, but the good stuff has remained. Python relatively recently added typing[0], and Matz has mentioned that ruby has no plans to include types in the language proper (though people are working on it). Perl might be the closest in terms of features since it has thread support but...<p>If you enjoyed this hot take, here are a few others you might enjoy:<p>- &quot;extensive&quot; unit testing is a poor man&#x27;s type checker<p>- developers that don&#x27;t think specifying types is helpful are still early in their careers (those who suffered in the dungeons of Java get some slack)<p>[0]: <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;typing.html" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;typing.html</a>