aboutsummaryrefslogtreecommitdiff
path: root/development/flow/README
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-12-23 05:04:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-23 05:04:07 +0700
commit1f2bc8d8af087a38308bc54f77845f758e5daac2 (patch)
tree89c3e1b0627ae312b4a8f9500059752e545f7fb7 /development/flow/README
parent64b77a1c86b4e79446fd881c022933af0a83a4b1 (diff)
development/flow: Added (A static type checker for JavaScript).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/flow/README')
-rw-r--r--development/flow/README11
1 files changed, 11 insertions, 0 deletions
diff --git a/development/flow/README b/development/flow/README
new file mode 100644
index 0000000000000..a38b4d172a09b
--- /dev/null
+++ b/development/flow/README
@@ -0,0 +1,11 @@
+The goal of Flow is to find errors in JavaScript code with little programmer effort.
+Flow relies heavily on type inference to find type errors even when the program has not been annotated
+It precisely tracks the types of variables as they flow through the program.
+
+At the same time, Flow is a gradual type system.
+Any parts of your program that are dynamic in nature can easily bypass the type checker
+so you can mix statically typed code with dynamic code.
+
+Flow also supports a highly expressive type language.
+Flow types can express much more fine-grained distinctions than traditional type systems.
+For example, Flow helps you catch errors involving null, unlike most type systems.