You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ I'm open to contributions and comments.
14
14
|---|------------------|--------|
15
15
| Leading Design Goal / North Star | identify errors in programs through [a balance between correctness and productivity](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals)| enforce type soundness / safety |
16
16
| IDE integrations | top-notch | sketchy, must save file to run type-check; some IDEs have workarounds to run real-time |
17
-
| speed | real-time, and continues to be fast regardless of the size of the project | satisfactory, but can get slower and slower with the project size |
18
-
| autocomplete | both during declaration and usage|[only for usage](https://github.com/facebook/flow/issues/3074)|
17
+
|type-checking speed (w/o transpilation, *subjective, need benchmarks!*) | speed does not degrade much as the project grows | speed degrades with each additional file|
18
+
| autocomplete |<ul><li>both during declaration and usage</li><li>feels instantaneous</li><li>feels reliable</li></ul> | <ul><li>[only for usage](https://github.com/facebook/flow/issues/3074)</li><li>feels sluggish (often a second or more of delay)</li><li>feels unreliable (sometimes does not show up at all)</li></ul>|
19
19
| expressiveness | great (since TS @ 2.1) | great |
20
20
| type safety | very good (7 / 10) | great (8 / 10) |
21
21
| specifying generic parameters during call-time | yes [e.g.](http://www.typescriptlang.org/play/#src=function%20someFactory%3CT%3E()%20%7B%0D%0A%20%20return%20class%20%7B%0D%0A%20%20%20%20method(someParam%20%3A%20T)%20%7B%0D%0A%20%20%20%20%20%20%0D%0A%20%20%20%20%7D%0D%0A%20%20%7D%0D%0A%7D%0D%0A%0D%0A%2F%2F%20how%20to%20invoke%20this%20factory%20with%20a%20defined%20%3CT%3E%3F%0D%0A%0D%0Aconst%20SomeClass%20%3D%20someFactory%3C%7B%20whatever%3A%20string%20%7D%3E()%0D%0Aconst%20someInstance%20%3D%20new%20SomeClass()%0D%0AsomeInstance.method('will-error-here')%0D%0A)| no |
@@ -25,7 +25,7 @@ I'm open to contributions and comments.
25
25
| type spread operator |[work in progress](https://github.com/Microsoft/TypeScript/pull/13470)|[shipped](https://github.com/facebook/flow/commit/ad443dc92879ae21705d4c61b942ba2f8ad61e4d) >=0.42 |
26
26
| ecosystem flexibility |[work in progress](https://github.com/Microsoft/TypeScript/issues/6508)| no extensions |
27
27
| programmatic hooking | architecture prepared, work in progress | work in progress |
28
-
| documentation and resources | <ul><li>very good docs</li><li>many books</li><li>videos</li><li>e-learning resources</li></ul> | incomplete, often vague docs |
28
+
| documentation and resources | <ul><li>very good docs</li><li>many books</li><li>videos</li><li>e-learning resources</li></ul> |<ul><li>incomplete, often vague docs</li><ul>|
29
29
| commercial support | no | no |
30
30
| error quality | good | good in some, vague in other cases |
0 commit comments