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
My sense is that I intuitively agree with your sensibility on OO, but I'd love to see more concrete discussion too.
1
1
Replying to


