3 ms·
> starting a Typescript project is like accepting unnecessary complexity from the beginning Dynamic typing is what really hides complexity. The higher order co
by ncphillips 8y ago
> starting a Typescript project is like accepting unnecessary complexity from the beginning
Dynamic typing is what really hides complexity. The higher order component pattern in React is a prime example. What seems like a simple idea is revealed to be extremely complex once you try to implement it using Typescript. Writing the types is a great way to get feedback on how complex your abstractions really are.
Deciding to use Typescript is about making a commitment to reveal and deal with unnecessary complexity from the beginning.
- veidelis 8y agoEspecially true for generic types