3 ms·
This is going off-topic, apologies. Yes, of course, re using TypeScript or Flow. However ... I'm not a fan of TypeScript -- if I'm going to use a different "la
by pakx 9y ago
This is going off-topic, apologies.
Yes, of course, re using TypeScript or Flow. However ... I'm not a fan of TypeScript -- if I'm going to use a different "language" (albeit one that's a transpile-able thin veneer over JS) I may as well switch to a language w/ an even better type system.
Flow, from the little I know, is closer to what I want -- still JS, but an annotation or "compilation switch" makes everything typecheck.
- jbucaran 9y agoSame here. Flow is great though and you can use it without annotations too, just not as useful. See: http://thejameskyle.com/adopting-flow-and-typescript.html http://thejameskyle.com/adopting-flow-and-typescript.html
- pakx 9y agoHa, funny -- clicking that link leads to a page w/ this message: "This page is unavailable when linked to from news.ycombinator.com. Please find a less toxic place to spend your time." :-) The link works when copy/pasted. Let me read.