4 ms·
Yeah, I think the confusion stems from the word "enum" being used to mean different things in different langs. A great illustration lies in comparing enums in
by cellularmitosis 6y ago
Yeah, I think the confusion stems from the word "enum" being used to mean different things in different langs.
A great illustration lies in comparing enums in Objective-C (essentially just named integers), whereas the associated values in Swift enums make them "Sum" types.