Either way you are fucked up. You rely on support from the project mantainers, be them on facebook or microsoft. BTW lack of support one of the main reasons people have been wildly jumping out of the flow train.
Comment syntax would be the only real argument but you are not even using it.
Yup. That is correct. My point is when using the comment syntax. Regardless, if you end up using type annotations without comments, you can easily strip them if you team decides to not use Flow anymore.
That applies to TypeScript too though, so I don't see how that's a benefit of Flow. TypeScript is JavaScript with static types - just remove the type declarations and you have JavaScript.
Mixins aren't a language feature, they're just a pattern of writing code. Triple slash directives are a feature of the type system, and they're just comments, so you don't even have to remove them. export/import = are for easy interop with CommonJS modules - find/replace them with module.exports = and require(\1)
2
u/scaleable Jul 30 '18
Either way you are fucked up. You rely on support from the project mantainers, be them on facebook or microsoft. BTW lack of support one of the main reasons people have been wildly jumping out of the flow train.
Comment syntax would be the only real argument but you are not even using it.