3 ms·
Swift does fully support ADTs, and can easily model result types, they just chose to have catchable exceptions as well.
by kazagistar 10y ago
Swift does fully support ADTs, and can easily model result types, they just chose to have catchable exceptions as well.