News for hackers. Stuff that matters.
Re:Facebook Launches Flow, Static Type Checker for JavaScript by arjie on Tuesday November 18, 2014 @10:05PM (#8627990)
The point is that you substitute the extra testing and QA with types. The assertion doesn't guarantee type correctness, so you test that function and downstream functions. That's extra code burden. Instead, you could have type checking.
Re:Facebook Launches Flow, Static Type Checker for JavaScript by Touche on Wednesday November 19, 2014 @09:09AM (#8630052)
I disagree, tests and QA happens regardless. Adding a compile step to development is a big downside to the type approach.