Hacker GitHub

← All repos

meta/flow

View on GitHub ↗ ★ 22,307 Rust

Adds static typing to JavaScript to improve developer productivity and code quality.

64 mentions on Hacker News by 55 people: 6 stories, 58 comments · first 2014-11-18 · latest 2026-06-07

Mentions per year 64 mentions · busiest year 2015 (13)
20082026
  1. …friendly if possible). At the moment I'm using babel in Atom and typescript in VisualStudio. [1] https://github.com/facebook/flow/issues/6
    comment by Guillaume86 · 2015-07-20 · in Announcing TypeScript 1.5
  2. They use the Spidermonkey AST, but the parser is written with OCaml https://github.com/facebook/flow/blob/master/src/parser/pars... and the Lexer is generated with OCamllex, since there is support for compiling OCaml bytecode to Javascript…
  3. …. It exists for JavaScript: https://github.com/sinelaw/infernu https://github.com/facebook/flow
  4. …: sig type t = Function of Statement.t list end = Expression Links: Big real world example: https://github.com/facebook/flow/blob/3a5b4040b7d2a648f97a06... Recursive module docs: http://caml.inria.fr/pub/docs/manual-ocaml-400/manual021.htm.…
    comment by gabelevi · 2015-04-12 · in Namespacing Variants in ML
  5. Facebook made flow https://github.com/facebook/flow and TypeScript has already been mentioned
  6. If something might return null -- feel free to make a PR with making it a Maybe type, like here: https://github.com/facebook/flow/blob/master/lib/dom.js#L359
    comment by k_bx · 2015-03-08 · in Angular 2: Built on TypeScript
  7. …good start, but it doesn't seem really useful if they aren't even in the basic API's descriptions: https://github.com/facebook/flow/blob/master/lib/dom.js#L198
    comment by the_gipsy · 2015-03-07 · in Angular 2: Built on TypeScript
  8. …instead ? Looks appealing because companies like Facebook are using it create tools like Flow ( https://github.com/facebook/flow ).
  9. …That's why I'm hopeful for Flow, Facebook's new project to add static typing to Javascript: https://github.com/facebook/flow
    comment by jnbiche · 2015-01-28 · in React v0.13.0 Beta 1
  10. …on me, but it does feel more accessible than other FP languages. It almost has a Python feel. [0] https://github.com/facebook/flow/blob/master/hack/parsing/fo...
    comment by glifchits · 2014-11-24 · in OCaml Briefly
  11. EDIT: looks like it supports type annotations similar to closure compiler's (in docs) https://github.com/facebook/flow/blob/master/tests/docblock/... Try running an annotated file in the browser - it's simply not valid ECMAScript syntax…
  12. >...but has no support for modules yet I see some mentions of import in the tests and the grammar: https://github.com/facebook/flow/search?utf8=%E2%9C%93&q=imp...
  13. …comments like other tools do - there is a GH issue on that and it looks like it should be possible https://github.com/facebook/flow/blob/master/src/typing/comm...
  14. …more about Flow check out the docs [1] and github repo [2]. [1] - http://flowtype.org/ [2] - https://github.com/facebook/flow