Michael Long
Dec 16, 2024

--

Honestly... if I got these answers during an interview I'd probably waggle my hand.

The performance answer comes close, but as given would lead me to wonder if the individual truly understood value types, especially as the "bloat" comment misses the mark entirely.

And I think it still misses some of the key reasons why structs are desired.

Could be better.

--

--

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.

Responses (2)