25 Sep 2018 09:57
When I first learned the Kotlin syntax equivalent to Swift's if let
I didn't like it as much, but lately I'm finding the Swift version feels a bit more verbose. In Kotlin it's nullableThing?.let { do stuff }
vs. Swift's if let unwrappedThing = optionalThing { do stuff }
.