News for hackers. Stuff that matters.
Re:Exploring Flow, Facebook's Type Checker for JavaScript by igl on Sunday January 04, 2015 @07:21PM (#8836499)
The maybe types `?string` really annoy me.

I will rather wait until TypeScript pleases me with union types and proper es6 alignment.

Re:Exploring Flow, Facebook's Type Checker for JavaScript by spion on Sunday January 04, 2015 @08:34PM (#8836698)
Really? Why are they annoying?
Re:Exploring Flow, Facebook's Type Checker for JavaScript by igl on Sunday January 04, 2015 @10:49PM (#8837128)
Optional parameters have ? as postfix too. Resulting code like: function foo(x?:?string):?string { return x; }

I would much rather like a null type, or even better: have null be declared as void too.