DEV Community

Discussion on: TypeScript is a waste of time. Change my mind.

Collapse
 
cullophid profile image
Andreas Møller

The problem with talking about readability is that it's almost entirely subjective. You can often replace readable with "familiar". In your example however the Js version leaves out the most important information. The only part that's relevant when using your context wrapper. what does the context look like.

The difference between the Js and the typescript version is literally all the important information.