Skip to content

Instantly share code, notes, and snippets.

@akaptur
Last active December 14, 2021 01:09
Show Gist options
  • Save akaptur/ab0422890569194f911db1bb5a876440 to your computer and use it in GitHub Desktop.
Save akaptur/ab0422890569194f911db1bb5a876440 to your computer and use it in GitHub Desktop.
Structural typing Nominative typing
TypeScript default behavior Use tagged unions
Python with mypy Use protocols default behavior
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment