You don't have to learn TypeScript !

You don't have to learn TypeScript !

I hear that many devs don't wanna use TypeScript, because is one tool of many tools to start to learn and can be a little bit ?exhausting ?? and it's totally valid ! because the frontend world is huge right now exists to much things to learn...

Okey I know... maybe you are so good using vanilla and you has been prove to yourself that you don't need nothing more that pure pure vanilla, hey that is amazing, its a really good skill ! but let me guess ... you have so many projects and the time is GOLD, so i can't imagine you dealing with annoying little bugs and spend precious time to fixing it...

So if I tell you, that you can start right now using TypeScript without using TypeScript? ZERO learning curve with one single line of code ? I propose you just to taste what are the benefits of using TS and why it's so important nowadays...

Let's put this example : You are coding and you forget to uncomment a function in somewhere, you get a "undefined" message in your console and we start think "...why ? if I recently write this function..." (this is a basic example its just to show you how it works) the text editor don't show us nothing ??

No hay texto alternativo para esta imagen

Hey I have a idea ... lets invoke a mr. TS ... whit one line of code :

No hay texto alternativo para esta imagen

? Now we have a hint to our problem, it's better than nothing ! wich we know it can be more complex in some projects... and the most important: no one effort has to put on this don't you think ? ?? TS have many uses and this is one of its.

What I say is if a task is huge, always must be start with simple things to eliminate the first barrer, and later decide if we must continue this path.

TypeScript is useful in so many contexts, the community & the companies has embrace this superset of JS because initially JS was created to delivered fast and easy to learn... now we have infinite frameworks, libraries and the grow of the industry was brutal, but with this types of tools can we help with well documented projects, transpile to old versions of JS, make our projects maintanible, avoid a good percentage of bugs while coding...

So why don't start right now and keeping learning at our time more benefits of TS ?

Let me know if this was helpful and thanks to read !??

https://www.typescriptlang.org/ <-- To install

Pablo Ariel Zorrilla Cepeda

IoT Solutions Mastermind ESP8266 / ESP32 / STM32 / Arduino AVR / etc Framework Development Tailored Systems

2 年

So TS is like JS but with every feature from C++ they could possibly steal! VERY NICE!

回复

要查看或添加评论,请登录

社区洞察

其他会员也浏览了