4 ms·
Where do you perceive the C#-ness of TS coming from? TS and Flow are ~90% identical (most programs accepted by one would be accepted by the other) and TS adds o
by RyanCavanaugh 10y ago
Where do you perceive the C#-ness of TS coming from? TS and Flow are ~90% identical (most programs accepted by one would be accepted by the other) and TS adds only a few purely optional syntactic features (namespace, enum) that are widely found in other languages.
- gokhan 10y agoMight be referring to <T> or var smt = new Smt(); or the use of ? etc.
- thejameskyle 10y agoThose all exist in Flow as well. I assume the original poster is talking about how few types you actually need to write in Flow because of how good the inference is.
- boubiyeah 10y agoNowadays, typescript inference is not any worse than Flow's though.
- g00gler 10y ago* Disclaimer: Correct me if I'm wrong, I haven't used flow extensively but I did check the docs. One big thing is TypeScript classes are entirely different than standard JS classes. I guess you don't have to use them but it adds Abstract classes, interfaces and access control (eg private, protected vars).