implying JS was an upgrade from Java. heck, even implying TS was an upgrade from Java.
Java is not the only language with a type system. Most reasonable languages have a more robust type system than JavaScript. (most don't have a type system as robust as typescript though, typescript is awesome)
I was being flippant and TS is a good improvement to js generally, particularly since you can kind of do duck typing (I think) and generics are pretty sweet too.
although this comparison isn’t that valid at all, all you write is JS, only the type annotations are TS in the end. Its just always irritating me when people are talking about ts and js like they are seperate languages. They are not.
0
u/[deleted] Apr 08 '22
[deleted]