A Type System from Scratch
“Enums are for switching. If you aren’t going to switch over a value—outside of the type—then use a struct.”
“Enums are for switching. If you aren’t going to switch over a value—outside of the type—then use a struct.”
Types vs TDD