I had the feeling, while TypeScript is rather close to JavaScript, that I write code differently in a statically typed language than in a dynamically typed one. Idiomatic TS isn't idiomatic JS, I guess. :D
Writing JS is like throwing untagged unions around everywhere, so I could imagine that typing that code with TS later could become some kind of hassle.
Anyway, I added this article to my reading list to get a better feeling for how big of a problem this really is. Thanks for writing it! :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I had the feeling, while TypeScript is rather close to JavaScript, that I write code differently in a statically typed language than in a dynamically typed one. Idiomatic TS isn't idiomatic JS, I guess. :D
Writing JS is like throwing untagged unions around everywhere, so I could imagine that typing that code with TS later could become some kind of hassle.
Anyway, I added this article to my reading list to get a better feeling for how big of a problem this really is. Thanks for writing it! :)