Hacker News new | past | comments | ask | show | jobs | submit login

After working in nominally typed languages for years I’m finding Typescript’s approach to types very liberating. I think structural typing with the option of defining nominal types is a sweet spot in type ergonomics.



I agree. I think part of the reason for this is that Typescript's type system was created with a goal of expressing the APIs of many existing js APIs, and many of those APIs are designed without any real constraint imposed by the type system.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: