3 ms·
Structural typing wasn't around in mainstream languages before Go and TypeScript.
by skrebbel 8y ago
Structural typing wasn't around in mainstream languages before Go and TypeScript.
- matt_kantor 8y agoI assume you were taking klibertp up on this: > try naming any "new" feature which was added to your favorite (EDIT: I meant mainstream - TIOBE top 10 or 20 - lang here!) language recently - and I'll show you that same feature implemented 10 or 20 years ago in another language(s). This is a fun game and I'll answer for them on this one: OCaml (1996) has structural types.