|
|
|
|
|
by untog
2495 days ago
|
|
> Yep, it's a beautiful technology, total type safe heaven. If you do what you're actually supposed to do (check in package.json files) it is. > Two basic basic rules if you want to work with TS: 1: apply the 'any' type 2: tweak TSC config so it won't complain anymore Oof, no. As you say, you're basically removing all the benefits of using TS that way. Honestly it surprises me what a hard time people have with it, it felt entirely intuitive to me not long after starting to work with it, and now I don't think twice about it (except to be thankful for it) > I'm curious btw how long TS will live, especially when you realize that within a few years we can write in virtually any language through WebAssembly I think the benefits of this are wildly oversold. There will be some very performance-intensive areas where WebAssembly will be useful, and it'll be a boon to be able to bundle cross-platform libraries easily. But outside of that you're going to be adding complication for little real benefit, and good luck hiring a "Go web front-end engineer" to work on your brand new codebase... |
|