DEV Community

Discussion on: Transforming Types in TypeScript with Utility Types

Collapse
 
stojakovic99 profile image
Nikola Stojaković

That's like saying just use Python without type hints because it's easier that way. What we should strive for as developers is writing maintainable software and TypeScript helps with this immensely (compared to JS). The reason why TypeScript even came to existence is because teams working on the large JS code bases in Microsoft have realized this.

Collapse
 
jonrandy profile image
Jon Randy 🎖️

Fair enough. Seems to me like a crutch for developers coming from strictly typed languages, who don't want to do things a different way - but, each to their own I guess. I actually prefer Python without type hints too :)