
I decided to write this up after the recent announcement by TypeScript:
https://www.youtube.com/watch?v=pNlq-EVld70.
I always had a love/hate relationship with
TypeScript for the most part. I hated it because you need to compile the code and do other things beside coding to make it work with Node.js etc. I loved it because it is a superior "language" when comparing with JS as it offers way more convenience and standards.
My use of TypeScript mostly was limited to TypeScript in Angular. I would use native JS for everything else.
But something changed recently.
Deno has become more stable and popular as an alternative to Node.js.
Imagine writing a code in TS and it just works. There is no node_modules
folder and you don't have to worry about thousands of dependencies. You can turn your code into a small executable natively with Deno. It has a built-in language service and code formatter. It is more secure as you have to give the code explicit permissions to access network, your system, or files. It is also compatible with npm packages.
I can't see how you would be a web developer and not like Deno. I love Deno and now I have been exclusively coding with TypeScript and using Deno.
The recent announcement for TypeScript is a very good news for web developers. TypeScript is coded using TypeScript (something like that). The announcement was them moving the code base to GO and making it faster by up to 10 times.
I don't think Node.js with native JS are going anywhere soon unless something changes in the V8 engine (the engine that runs the code behind the scene on Node.js, Chromium based browsers, and Deno). But I think moving towards TS is the better move for web development. The lingering backwards compatibility and maintenance of the old code will haunt us forever but I don't think we should slow down technology because of slow people. Some governments still use Windows XP. Besides that, it is extremely easy to convert the existing code over.
If you haven't already, checkout
Deno and see how easy it is to work with.