niieani / typescript-vs-flowtype

Differences between Flowtype and TypeScript -- syntax and usability
MIT License
1.74k stars 78 forks source link

fix: 0.66 introduced great error messages #48

Closed FezVrasta closed 5 years ago

FezVrasta commented 5 years ago

read more here: https://medium.com/flow-type/better-flow-error-messages-for-the-javascript-ecosystem-73b6da948ae2

niieani commented 5 years ago

Hi @FezVrasta. Thanks for your contribution. However, even though the errors have improved a lot in 0.66, they are still not as good as those of TypeScript (in my personal opinion). I use most recent Flow and TypeScript in large codebases daily, so these have been my impressions. It would be great to include a more "scientific" analysis, where we compare a set of 10 or 20 similar errors, and ultimately leave it up to the reader to judge what is "better".

Thanks, and I hope you understand my point of view.