1 nota · última: 29 Dec 2019
Structs are built on top of maps, give default values, and add compile-time checks. They can enforce required keys, reject invalid keys, and still be pattern-matched by struct type.