An Interesting Swift Benchmark
I recently wrote about creating extensions on Optional<String>
. When I shared this post in the Swift India slack group, one of the people there pointed out to me that I could just use the nil coalescing operator instead of the extension methods I’d created.