DEV Community

Discussion on: TypeScript is the Only Programming Language you Need to Learn. One language to rule them all!

darkwiiplayer profile image
DarkWiiPlayer

I think you're attributing more features to a type system than it should actually have. When you start adding predicates like "having a name field" you're ending up back at set theory.

Thread Thread
eecolor profile image
EECOLOR

Might be. I was thinking more along the lines of Nominal typing vs Structural typing and in a sense a mix between the two.