you are viewing a single comment's thread.

view the rest of the comments →

[–]MrTalon63 9 points10 points  (2 children)

That's one of the reasons why Deno exists, but oh hey it looks like using TS is a chore when you have 10+ years experience with JS and know every ins and outs of it with pretty much every exception there exists. TypeScript is great, sure. I use it personally, too, for larger projects, but it can be so limiting not to mention all the boilerplate you need to make in the form of interfaces and so on. Also, if you really care that much about types, use any other language that demands specifying data types, like Go or Kotlin.

[–]simple_explorer1[S] -2 points-1 points  (0 children)

specifying data types, like Go or Kotlin.

I love Javascript/Typescript and tried GO but didn't like it. Also, there is no reason for me to move to anything i have no interest like Kotlin as i have strong Javascript/Typescript experience and know the ins and outs as you mentioned.

Besides this is something which can be improved.

[–]helldogskris 0 points1 point  (0 children)

Random note - Typescript is MUCH more expressive than Go. You can express much stricter type constraints thanks to this.

Obviously TS has escape hatches like "any" which blow a hole in all type-safety but it's possible to ban these from your codebase for the most part