|
|
|
|
|
by mirekrusin
3472 days ago
|
|
Objective-C doesn't have algebraic data types. Optional, structural algebraic type system with runtime support (mainly for `match ...` constructs) is IMHO the sweet spot. It really makes a difference to have it. The analogy on top of my head is this: it's like a difference, when working on text processing code, to have regexp or do things by hand. Similar to regexps, above type system support, can cut necessary code by orders of magnitude and make it much more readable/reason about. |
|