Hacker News new | ask | show | jobs
by dgellow 1669 days ago
Damn, I’m missing Union Types in C# so much! Typescript make it so simple to compose types.
1 comments

Indeed. Union, intersection types are godsend. Furthermore arguments don't need to be class instances / explicit type, object with fulfilled properties are enough. It's much much easier to work especially during templating / developing engine.