Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It looks like the op is actually talking about structural typing vs nominal typing, which makes more sense bc Rust is nominally typed (newtype pattern, for example), whereas Typescript is structurally typed.

And you’re right, this has nothing to do with type erasure.





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

Search: