Re: reasons for learning typescript
Well, there is a reason why casting exists, because it has its valid reasons to, and there are cases where casting needs to be used to actually use the typing system instead of declaring things as any and disabling it all together.
TypeScript saves you alot of trouble, as the others already mentioned. Another advantage is that you can decide upon which _javascript_ version it should compile too, means that you could even support Internet Explorer 9 or even older browsers while still using classes and all these neat modern language features you like.
I'm using it on a regular daily basis for backend node development as well as frontend development with Angular and, coming from a plain JS background, its much more convenient than plain JS.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector