<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 22, 2015, at 11:03 AM, Paul Cantrell via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: HelveticaNeue; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I’m not totally opposed to final by default. Joe’s arguments sway me in principle. In practice, if Swift does indeed moves us toward “less wiggle room, less hackable” by default, then that wiggle room _will_ have to come from somewhere else: perhaps more open sourcing and more forking, or faster turnaround on fixes from library authors, or a larger portion of time spent by library authors explicitly exposing and documenting customization points. The new effort involved for library authors is nothing to sneeze at.</span></div></blockquote><br class=""></div><div><blockquote type="cite" class="" style="font-family: HelveticaNeue;"><div class="">On Dec 21, 2015, at 11:50 AM, Jordan Rose via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div></blockquote></div><div><blockquote type="cite" class="" style="font-family: HelveticaNeue;"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class="">Of course Apple code will have bugs in it. Trying to patch over these bugs in your own code is (1) obviously not an answer Apple would support, but also (2) fraught with peril, and (3) likely to break in the next OS release.</div><div class=""><br class=""></div><div class="">TLDR: It's already unsafe to do this with the existing set of Swift features. Yes, this makes things "worse", but it's not something we're interested in supporting anyway.</div></div></div></blockquote></div><br class=""><div class="">I actually agree with making final default. &nbsp;But I think it's important to understand the consequence. &nbsp;"One does not simply" seal all the classes.</div><div class=""><br class=""></div><div class="">I'm going to repeat publicly something that third-party developers (including me) have been talking about privately for over a year. &nbsp;We're going to end up moving to open-source, community-maintained frameworks (a la swift-corelibs-foundation), and away from closed-source Apple-maintained dependencies.</div><div class=""><br class=""></div><div class="">This isn't the place to rehash the whole tired history of it, but to provide a little context: I alone have 217 open, non-duplicated radars under my main account. &nbsp;That is a lot of radars. &nbsp;The problem resolution strategies available to third-party developers are very very bad. &nbsp;Subclassing is one of those "bad" resolution strategies that everybody agrees is awful, but what are you going to do, rewrite the core Apple frameworks by yourself?</div><div class=""><br class=""></div><div class="">Yes, as it turns out. &nbsp;Many of us were pleasantly surprised (and some of us literally could not believe) Apple's support for this effort with swift-corelibs-foundation. &nbsp;But I think (some) on this list may be unprepared for the full extent to which the community will be taking on an active role. &nbsp;I actually have a whole queue of patches in the basement that predate swift-corelibs-foundation completely that I will be sending upstream slowly, and what gets rejected will be third-partied somewhere. &nbsp;That's before we even get to the question of replacing some of the other technologies that don't appear on <a href="http://github.com/apple" class="">github.com/apple</a>. &nbsp;</div><div class=""><br class=""></div><div class="">IMO making the transition to "open" frameworks that we can actually fork/fix/bundle ourselves is the Right Solution™ to this whole "final" debate, but I think it is important to preview for everybody involved that this is the straw on a very overworked camel. &nbsp;I had to subclass UIKit yet again just a few days ago. &nbsp;Paul Cantrell is 100% right that the wiggle room will have to come from somewhere.&nbsp;</div><div class=""><br class=""></div><div class="">The wiggle room will come from the community stepping up and making our own tools. &nbsp;That has been happening to some extent in the dark, but presently it will be happening in the daylight.</div></body></html>