I sure hope after this (personal) TS hump, typescript is just gonna be productivity booster.
-
-
To be more specific, I've done a large number of very significant and very important refactors in a matter of a day or two that would have been impossible in an equivalent JS codebase. I'm surprised at how often all tests pass once types check (not as often as Rust but often)
-
I would argue it has been crucial to the engineering success of Asana. We've been going through a 4 year incremental rewrite and would not have been able to do it without TypeScript. The upgrade time is definitely painful though.
-
Biggest wins were better code communication and easier refactors. Developers can learn new parts of the code faster. We've also extensively used codemods to remove deprecated patterns. The compiler ensures that it is safe.
-
Just curious, What library are u using for Typescript codemods ?


-
Honestly, nothing. Just write a simple node script that does it with regexp
-
Haha RIP proper AST transformation

-
We do use AST transforms, just rarely. JavaScript's function replacer and string templating is usually simpler/easier/faster for most cases.https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace …
- End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
