Re:Cold Showers
by yCombLinks on Saturday June 18, 2022 @09:00PM
(#31795209)
Discipline doesn't 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.
> Discipline doesn't scale.
I want a shirt with this on it.
The 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.
And Unlike typescript my code doesn't need to be transpiled at all since it is already vanilla JS.