<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 23, 2015, at 10:02 AM, Kevin Kachikian 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="">I don’t think hacking the runtime is much of an issue, more that it might already be now. <br class=""><br class="">However part of the thinking behind the idea of extending extensions to encompass property declarations, above and beyond grouping related code together, is to maintain orthogonality: Structs and classes can declare properties and so should extensions to such types be able to as well.<br class=""></div></blockquote><div><br class=""></div><div>The problem I think we need to consider carefully is that introducing stored properties is not necessarily orthogonal. &nbsp;It can have significant impact on <b class="">all</b>&nbsp;initializers.</div><br class=""><blockquote type="cite" class=""><div class=""><br class="">Kevin<br class=""><br class=""><br class=""><blockquote type="cite" class="">On Dec 23, 2015, at 3:42 AM, Tino Heth &lt;<a href="mailto:2th@gmx.de" class="">2th@gmx.de</a>&gt; wrote:<br class=""><br class="">+1/-1:<br class=""><br class="">When the extension is in the same module, it's nice to be able to group all aspects of an extension in one place instead of being forced to declare properties in the definition.<br class="">But I guess the most important use case is to extend types that aren't in the same module, and I wouldn't like to see that hacking the runtime becomes a common thing to do.<br class=""><br class="">Tino<br class=""></blockquote><br class="">_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></blockquote></div><br class=""></body></html>