|
|
|
|
|
by KenanSulayman
2127 days ago
|
|
Who hurt you? This project is meant to make developers more efficient and support them in migrating projects to TypeScript. The entire point of TypeScript is to make developers more efficient, too, through clear structuring, types and assistance through its toolchain. Static typing does not protect you from integrity issues. However, it allows you to extend existing code with confidence. I'm not sure if you work in a team, but your general attitude isn't exactly conducive to a constructive, open and efficient working environment. |
|
TypeScript hurt me.
>> However, it allows you to extend existing code with confidence
This argument is often used and cannot be disproved but the words "with confidence" betray the case for its objectivity.
Confidence is a subjective emotion; I can tell you that I feel confident about extending my JavaScript code without TypeScript and you can't argue with that. So this is a subjective argument and my extensive subjective experience of both languages disagrees with the premise.
The most innocent explanation that I can come up with is that TypeScript caters to developers who are not good at coding and thus lack confidence in their coding ability. For me, TypeScript has 0 effect on my confidence and the transpilation step makes things more complicated and makes me less productive overall. Testing is the only thing which increases my confidence in the code; nothing else has any effect on my confidence levels... Not even the language (and I used many over the years). This leads me to think that the confidence which TS gives developers is an illusion, I remember a time when I was younger and used to harbor such illusions about static typing so I'm just drawing projections about other people from my own experience. And yes, your first observation about me is absolutely correct, my skills as a developer have been thoroughly battle-tested and this has hurt me. To me, the existence of this tool is like reliving a past trauma.
>> I'm not sure if you work in a team, but your general attitude isn't exactly conducive to a constructive, open and efficient working environment.
My team is very productive (I'm CTO). We're productive because we're pragmatic. We don't use TypeScript because we're pragmatic. I don't have to resort to this attitude because my team members were carefully selected for having high level critical thinking and so they wouldn't make such big mistakes as creating this tool.