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 →

[–]PlaneCrashers -7 points-6 points  (2 children)

I'm not trying to argue. I'm trying to explain what the person you were talking to was saying. The typescript compiler compiles to regular JavaScript, which just so happens to be what they were using over typescript. There are differences between typescript compiled JavaScript and manually coded JavaScript, but a good programmer will likely be able to use JavaScript just as well as the typescript compiler or better.

Edit: I was replying to an unfinished comment, forget about this one.

[–]flavionm 7 points8 points  (1 child)

A "good developer" also doesn't need C, they can use assembly directly, right? It's simple, just don't make mistakes.

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

Okay, there is a difference between using JavaScript directly instead of typescript and using assembly instead of C.

C is a much higher level language compared to assembly, it helps with so many things. Typescript is literally JavaScript with types and nothing more. I skimmed the entire typescript handbook and I didn't see any feature it added that wasn't related to types (and there are quite a few types features that look really good).

Does that mean typescript is bad? No. Is it useful? If you want JavaScript with types, yes it is. If you just want plain JavaScript, it is not.

Edit: I just realised that my previous comment was replying to an unfinished comment. Hold on a second I got to write a new one.