Re:The Brilliance of “nil” in Objective-C
by rocqua on Saturday April 30, 2022 @05:10PM
(#31219397)
Most 'optional' types have a 'map' function that allows you to apply a function to it, if it isn't None. That seems like a decent middle ground, though maybe less useful when writing a few short functions.
[ Parent
| on HN ]
There are no comments on this comment yet.