4 ms·
I've actually come to enjoy writing types as much, if not more, than the code itself. Part of it is just being able to write code that is extremely dynamic, ye
by cjonas 6y ago
I've actually come to enjoy writing types as much, if not more, than the code itself.
Part of it is just being able to write code that is extremely dynamic, yet still provides an amazing developed experience.
- reflectiv 6y agoI especially love typescript when it comes to refactors or API changes...on my team we strictly type as much as possible and it has made refactors and API changes so much easier and fail-proof. For example if an API change occurs on backend, the first step is to make the change to the request/response typings in the frontend...from there the source code will light up with all the errors you have to fix. I can just click through each one in VS Code and fix them, then re-run tests to validate...love it.