If you use something vastly distinct from JavaScript (e.g. elm or closure or dart etc.) then all the more power to you. But if you use JavaScript *especially with a transpiler* I’ve argued before that you really should be using TypeScript (e.g. its great for beginners).
However, I feel that like me you probably don’t want to waste too much time having an argument about it. Here is a quick give it your best and if it fails move on discussion to have:
- Write the code in TypeScript
- If a concern is raised by a developer ask what they dislike about it.
- Delete all the type annotations and ask if it really makes them feel better.
- If they are not convinced, you probably don’t want to spend any more time. Just use JS and if it frustrates you too much, just find a new job. TypeScript jobs are no longer hard to find 🌹
If you liked this post be sure to share with your friends and click the heart below :).