Flow: JavaScript con Tipado Estático

Es un sistema de tipos.

Usa anotaciones @flow

Instalando flowbin ya se puede usar con React, Redux, etc

Usa flow con el scaffolding de React create-react-app https://flow.org/en/docs/tools/create-react-app/

Flow es el mejor de los dos mundos, tipado estatico y tipado dinámico. El tipado dinámico es mejor pero llega a dejar cierta incertidumbre.

Flow corre en tiempo de checking no es en tiempo de ejecución

Sistemas de tipado estático

Investigar

Sistemas de tipado dinámico

Investigar

Flowtype

https://medium.com/@cdebotton/redux-and-flowtype-69ff1dd09036

Flow IDE

https://atom.io/packages/flow-ide

Referencias

https://flow.org/

https://golang.org/

https://www.theodo.fr/blog/2016/11/go-with-the-flow-a-static-type-checking-tool-for-javascript/

https://medium.com/javascript-scene/you-might-not-need-typescript-or-static-types-aa7cb670a77b

https://code.facebook.com/posts/1505962329687926/flow-a-new-static-type-checker-for-javascript/

https://code.facebook.com/posts/1840075619545360/yarn-a-new-package-manager-for-javascript/

results matching ""

    No results matching ""