Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@PhilWerman indeed, the problem that TS tries to solve actually does not exist.
The language uses weak types, so there is no reason to force strong types, if you want to validate types, tools are a better option.
Another thing is TS generates JavaScript but JavaScript is not this unreadable or low that you would need to do that. Even rebuilding systems for interfaces etc. is not that hard to write in raw JavaScript. So why use TS?! -
@Hammster "if you want to validate types, tools are a better option". Isn't typescript exactly that?
-
@host127001 typescript uses its own js flavor to do that for raw js, or you transpile ts to js.
Other tools use JSdoc comments -
@host127001 wouldnt https://flow.org be exactly your need instead? TS is more then type checking
-
drumgimp597yStarted learning Vue as well, very impressed, and nativescript Vue support is great as well.
Vuejs is great. I havent read any of the docs, only the first part of how to make components, and pretty sure i just hackes shit together but i now have a working site. It just speeds everything up, unlike fucking angular lol.
rant