Already lots of discussion Twitter about the design/performance tradeoffs and subtleties of using classes vs. structs, etc.
Conversation
Quote Tweet
@maxpow4h Curious: why do you use classes instead of structs for implementations in swiftz?
1
My perspectives on OO broadly align with this talk; I think Swift expresses those concepts nicely: destroyallsoftware.com/talks/boundari
3
2
15
One more question - got a (hopefully concise) bit of Swift code handy that illustrates this?
1
1
I like how you phrased that, yeah! Roughly how "Swift's idea of OO" aligns with Gary's talk
1
I'm not as sophisticated about this as, say, , but there is an interesting discussion here: developer.apple.com/library/prerel
1
1
Tried to watch that talk but have to admit I got a bit lost in the thick cloud of unit testing disquisition.
1
Replying to
Replying to
Yeah, part of the problem is I'm a bit distracted right now. I'll try to watch it later.


