summaryrefslogtreecommitdiffstats
path: root/content/zettel/2ab.md
blob: 6c8b73af35d05d172d04a77093e7f64f2e2bda1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
+++
title = "Structured Typing"
author = "Yann Herklotz"
tags = []
categories = []
backlinks = ["2a1"]
forwardlinks = ["2c"]
zettelid = "2ab"
+++

Structured typing, on the other hand, distinguishes types based on their
structure instead of their name. This means that types with different
names but the same structure would deemed to be equivalent.