DEV Community

Discussion on: Why TypeScript is a better option than JavaScript when it comes to functional programming?

Collapse
 
darcyrayner profile image
Darcy Rayner

Typescript doesn't have algebraic data types? It has type unions and intersections. What else does it need to qualify?

Totally agree pattern matching would be awesome though.