Michael Long
Apr 9, 2022

--

Have to disagree. With`if var x = x` you still end up with 2 different versions of x running around. And I'd probably question `if var x = x` anyway if I saw it in a code review.

As mentioned above, it's not a major, ground-breaking change, but it is a nice, concise bit of syntactic sugar and I'm glad to see it.

--

--

Michael Long
Michael Long

Written by Michael Long

I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.

No responses yet