News for hackers. Stuff that matters.
Re:WhatsApp scaled to 1B users with only 50 engineers by sacado2 on Monday October 25, 2021 @09:19AM (#28987431)
Typescript has a pretty cool type system. A mixture of dynamic and static typing. You can be as dynamic as with js (or python), or stricter than Java (you can state a reference cannot be null for instance), or anything in between (and have dynamic parts and static parts in the same program).
Re:WhatsApp scaled to 1B users with only 50 engineers by brigandish on Monday October 25, 2021 @11:11PM (#28995997)
I haven't used Typescript but I've generally heard very good things about it. I didn't know you can mix and match, that might give me a bit more of kick to include it in a project, thanks.

Whether or not it's an advantage of Javascript… I'm not sure. I mean, if someone wrote a transpiler for Java that overlayed stricter typing, would that really be an advantage of Java? Not sure, but of course, worth considering when choosing a language for a project.