News for hackers. Stuff that matters.
Re:Etsy’s Journey to TypeScript by vosper on Tuesday November 16, 2021 @06:08PM (#29247416)
Typescript is the language that will put a lot of other server-side-only languages to bed when it comes to web-application back-ends (and then it will seep into everything else, unless it's performance critical, but at some point that'll probably be addressed, too).
Re:Etsy’s Journey to TypeScript by valenterry on Wednesday November 17, 2021 @12:42AM (#29249609)
I don't think so.

Typescript is a decent language, but severely suffers from the javascript compatibity. On the frontend that does not matter as much because you usually don't deal with critical data persistence, but on the backend it's different.

If what you said was true, Javascript would have already taken over the backend, but it hasn't. There are two reasons why:

1. There are still languages on the backend that are more productive / powerful / mature than typescript.

2. On the frontend side, the hurdle of getting into things is much lower. That's why, on average, folks working on the backend are usually more involved and have a broader exposure the languages.

That being said, there are surely languages, I would love to see replaced by Typescript (for example looking at you, Java). And while it might look like Typescript could do it from someone who uses it for frontend, I'd say it won't happen.

Re:Etsy’s Journey to TypeScript by goto11 on Wednesday November 17, 2021 @05:51AM (#29251349)
Typescript is amazing for frontend development, but I don't understand why anyone would use it on the server side?

The point of TypeScript is it extends JavaScript in a backwards-compatible way and still compile down to JavaScript which will run in any browser. It cant make the quirks and design mistakes of JavaScript go away, but it can protect the developer against them.

But on the server side there is no compatibility issues, so why not just use a well-designed language in the first place? C#, Python, Go...all of them are much better designed than JavaScript.

Re:Etsy’s Journey to TypeScript by RhodesianHunter on Tuesday November 16, 2021 @09:17PM (#29248682)
People who've been writing only JS for years descover typing and suddenly think it's the holy grail.
Re:Etsy’s Journey to TypeScript by jamil7 on Wednesday November 17, 2021 @01:49AM (#29249895)
Yeah while they liberally apply ‘any’ all over a codebase.
Re:Etsy’s Journey to TypeScript by exdsq on Tuesday November 16, 2021 @09:24PM (#29248708)
I’ve just accepted this is true (for JS or TS). I spent years avoiding using JS but have just come to accept I need to crack on with it regardless, it’s here to stay and probably just going to grow. No point severely harming my job options over technical preferences.
Re:Etsy’s Journey to TypeScript by Scarbutt on Tuesday November 16, 2021 @07:00PM (#29247847)
Sad but true.
Re:Etsy’s Journey to TypeScript by jmath on Tuesday November 16, 2021 @09:08PM (#29248637)
i sure wouldn’t mind seeing typescript become a dominant language in back-end development