3 ms·
> since introducing TS to you project means longer time train new employees Does it though? I mean, we're talking about intelligent beings who can drive cars a
by s_kilk 10y ago
> since introducing TS to you project means longer time train new employees
Does it though? I mean, we're talking about intelligent beings who can drive cars and program computers, how hard can it be for them to spend an hour reading the typescript docs?
I suppose it depends on ones definition of a long time.
- shados 10y agoLearning TS itself takes minutes. Probably -seconds- if you're familiar with Java/C#. The real learning curve is in the edge cases, of which there are plenty. Fighting with a 3rd party lib with incorrect type defs, dealing with cases common to JS that are hard to properly type (such as certain functional constructs), dealing with things missing from the TS compiler that are present in ES6/babel, etc. Those things are quickly going away and may eventually be a non-ssue, but as of today, they're very real. That's in contract with languages that have the type system baked in from the get go, where it wouldn't be an issue.
- DJCordhose 10y agoIMHO the type system of flow and typescript are pretty different from Java/C#. Structural typing to name one and maybe the most important.
- shados 10y agothey're very different if you take them in a vacuum, but they're nearly clones when compared to ML/Haskell/Scala-style type systems. Don't forget C# has some structural typing for some features (such as delegates)