3 ms·
I always notate my functions with JSDocs and my DTOs as jsdoc types which in any modern IDE gives you the same advantages that you would get out of the explicit
by throwaway675309 4y ago
I always notate my functions with JSDocs and my DTOs as jsdoc types which in any modern IDE gives you the same advantages that you would get out of the explicit typescript interface/type.
And Unlike typescript my code doesn't need to be transpiled at all since it is already vanilla JS.
- yCombLinks 4y agoDiscipline doesn't scale. https://www.sicpers.info/2020/10/discipline-doesnt-scale/ https://www.sicpers.info/2020/10/discipline-doesnt-scale/ Add 10 people to your project and start forgetting some docs or failing to update them.
- ebingdom 4y ago> Discipline doesn't scale. I want a shirt with this on it.
- zarzavat 4y agoThe presence or absence of a compilation stage has nothing to do with static typing. Flow.js is static typing. MyPy is static typing. It sounds like your JSDoc comments are static typing, if your IDE ends up passing them through the TypeScript type checker in JS mode. It may not be very comprehensive static typing but it is static typing none-the-less.