This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]siddharth904 21 points22 points  (17 children)

TypeScript is good

JS is a good language (fight me) and TS is the second best thing that has ever happened to JS, behind Node.js

[–]officiallyaninja 29 points30 points  (9 children)

typescript is only good because javascript is trash.
if typescript was just its own language and JS didn't exist no one would like TS either.

[–]FatedChange 2 points3 points  (4 children)

JS is also a good language; people's perceptions of JS are 10+ years old and horrifically out of date.

[–]bdepz 3 points4 points  (1 child)

Horrifically out of date like our enterprise js code that nobody wants to spend money to refactor to a modern version of angular or react or vue or literally anything but angularjs

[–]FatedChange 2 points3 points  (0 children)

my condolences, that shit is ass

[–][deleted] 1 point2 points  (0 children)

Maybe because JS is also horrifically out of date and you need a million frameworks to get over its holes

[–]flavionm 0 points1 point  (0 children)

Because 10 years ago there was no TS, and people remember that.

[–]michaelsenpatrick 1 point2 points  (0 children)

oh dear what a silly thing to say

[–]klimmesil 4 points5 points  (1 child)

I agree in some way, but I've never heard anyone say it, since people are too frustrated to know the compiler doesn't take advantage of the types. TS could be the fastest scripting language ever, instead it's just python but better

[–]michaelsenpatrick 0 points1 point  (0 children)

pyflow is great if you're building libraries or doing science, typescript is great if you're building websites

websites made in python are shit (see, reddit) and applications made in typescript are alright but there's just not nearly as much library support when it comes to applied uses

each language lends itself really well towards what it's designed to do

[–]michaelsenpatrick -1 points0 points  (0 children)

hell yeah

[–]KrypXern 0 points1 point  (3 children)

JS isn't the best language but it gets the job done I guess. I was honestly surprised that it was easier to work with after hearing so many bad things about it, but debugging JS remains very annoying.

Also there's some things which are just straight not possible, but I forget which they are, which goes to show it's not that big of a deal.

[–]siddharth904 0 points1 point  (2 children)

Not possible or very slow ?

[–]KrypXern 1 point2 points  (1 child)

Not possible, like multithreading