Re:Stop giving code examples in TypeScript
by carlosdp on Tuesday July 26, 2022 @03:50PM
(#32243065)
The ecosystem is largely adopting Typescript as the canonical way to write javascript applications now, and having types makes the code more readable. I feel like it makes a lot more sense for tutorials to show things in Typescript, which is what most devs would actually use, rather than lose that type context with pure JS.
[ Parent
| on HN ]