Comment

Comment by the_unproven

I just recently found out about these two types of system. It's strange how people (like shown in the article) don't emphasize(know) it when talking about types in languages.

Interestingly, python has included structural subtyping in 3.8[1] as part of the typing module.

[1] https://www.python.org/dev/peps/pep-0544/

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton