Re:Show HN: 1kb JavaScript library for building front end ap...
by jbucaran on Monday June 26, 2017 @09:14PM
(#14641827)
Same 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
Re:Show HN: 1kb JavaScript library for building front end ap...
by pakx on Tuesday June 27, 2017 @12:35PM
(#14646898)
Ha, 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.
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.