Proposal to enable opting JS into operating as a functional language
See 'use strict' for an idea of where this is heading.
Helpful plugin to simulate https://github.com/bodil/eslint-config-cleanjs
TypeScript, Flow, Elm, and others agree that strong-typing provides safety and predictability.
- https://github.com/flowtype/flow-typed
- https://github.com/DefinitelyTyped/DefinitelyTyped/
- http://elm-lang.org
- TypeScript 2.0 has a readonly modifier
JavaScript is context-sensitive when it comes to function purity.
- TypeScript 2.0 has non-nullable types
- Flow has
Maybe
types - Elm has
Maybe
types