Re:Are dynamic languages going to replace static languages? ...
by willbudd on Wednesday August 04, 2021 @01:55AM
(#28057668)
But nobody (as far as I know) who has used TypeScript wants to go back to vanilla JavaScript. I find that fairly telling.
[ Parent
| on HN ]
Re:Are dynamic languages going to replace static languages? ...
by joelbluminator on Wednesday August 04, 2021 @02:43AM
(#28057967)
Google "the problem with typescript", there are people who don't like it. I don't know how many they are but saying "no one" is silly.
Re:Are dynamic languages going to replace static languages? ...
by richeyryan on Wednesday August 04, 2021 @06:41AM
(#28059452)
I broadly prefer JavaScript to TypeScript. TypeScript has it's place and is certainly useful in some scenarios (it's union type is so powerful) but I don't think I'd ever plan on coding exclusively in it. I've written code in OCaml and Rust too so I know what a good type system can do.
I think at least for UI work there is a lot of space for dynamic plumbing together of well typed components. Components in this case meaning actual UI components as well as modules of business logic or state management.
Re:Are dynamic languages going to replace static languages? ...
by jaredcwhite on Wednesday August 04, 2021 @02:47AM
(#28057993)
You need to get out more. =)
Re:Are dynamic languages going to replace static languages? ...
by pjmlp on Wednesday August 04, 2021 @04:41AM
(#28058697)
I only use TypeScript on projects written from scratch for TypeScript, like Angular.
On personal projects I only want to deal with builtin browser technologies, there is no npm, webpack, tsc, yarn, whatever, just plain <script/> tags.