News for hackers. Stuff that matters.
Re:Problems with TypeScript by cowmoo728 on Wednesday January 15, 2020 @02:17PM (#22057457)
In my experience it helps devs move the documentation up one level. By that I mean they don't just document the mechanics and type signature of the function, but instead document what the function is used for and why it exists.

You can already write decent docs in plain JS, but I've found that having the types already documented by the compiler helps devs move up that level of thinking automatically.

There are no comments on this comment yet.