1. You are applying the ad-hominem fallacy: calling something a name something doesn't remove its value. The reason I didn't point to this label is to avoid people applying the same fallacy and tuning out before…
I would make the exact same argument but with completely the opposite conclusion. Just use type casting which is self documenting and easily maintained. How can using Typescript be considered somehow less complex?
This premise is factually true for both TypeScript and Flow. Please explain how you could come to any other conclusion. I researched this 4 years ago, and since then Typescript has added the `--checkJs` option, but it…
Yes, TS and typecasting can live well together. However, once you combine sensible naming by type and typecasting together, the benefits of TS fade. Then one has to ask: are the remaining benefits worth the expense of…
Hi, Author of the Article here :) I do not recommend JSDoc. Instead, typecasting has these advantages: 1. Precise self documenting 2. Much easier to maintain and less verbose (see 1) 3. Requires no external tooling…
1. You are applying the ad-hominem fallacy: calling something a name something doesn't remove its value. The reason I didn't point to this label is to avoid people applying the same fallacy and tuning out before…
I would make the exact same argument but with completely the opposite conclusion. Just use type casting which is self documenting and easily maintained. How can using Typescript be considered somehow less complex?
This premise is factually true for both TypeScript and Flow. Please explain how you could come to any other conclusion. I researched this 4 years ago, and since then Typescript has added the `--checkJs` option, but it…
Yes, TS and typecasting can live well together. However, once you combine sensible naming by type and typecasting together, the benefits of TS fade. Then one has to ask: are the remaining benefits worth the expense of…
Hi, Author of the Article here :) I do not recommend JSDoc. Instead, typecasting has these advantages: 1. Precise self documenting 2. Much easier to maintain and less verbose (see 1) 3. Requires no external tooling…