<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=""><div class="">Swift.print() is a good example vs NSView's print()</div><div class=""><br class=""></div><div class="">I like things the way they are, and would rather use code highlights, linting tools, and in-house style standards rather than remove implicit self. That said, I could argue both sides.</div><div class=""><br class=""></div><div class="">-- E</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 14, 2015, at 4:05 PM, Stephen Celis 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=""><div dir="ltr" class="">On Mon, Dec 14, 2015 at 5:35 PM, Dan Loewenherz via swift-evolution <span dir="ltr" class="">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank" class="">swift-evolution@swift.org</a>&gt;</span> wrote:<br class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class="">
2. How can one reference a function with the same name as an instance<br class="">
method in the class from which you’re referencing from? E.g., in the above<br class="">
example, I believe that the “add” function is unreachable from within the class<br class="">
(please correct me if I’m wrong).</blockquote><div class=""><br class=""></div><div class="">FWIW, I like implicit self but have been bit by this several times before. You can use the current module's name to reference the free function, but the error messaging you'll face beforehand doesn't make it easy to get to that solution.</div><div class=""><br class=""></div><div class="">Stephen</div></div></div></div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=r5jpKsi6nat7oa43lpCLi5GRGm2utDkbDscuFklXZ2fAAW3U-2F0QCPhqHGp-2BkgtgsnGcFWSCv0-2Bsho91qVE2ppRbaHDZPloqaBjrElfSO9kFHCsoaXuOjfE6A7q8zXyXvk0otlvpMMIIQFfYJyeYbSP0aBKxLkBOxqEQ5k9iyWiOvoA9yvyRX9K-2B4ywOA-2BzDdrIws-2B-2F-2FwK5ejNuEk2NL1NsC79GaFB2gDkpZItLAXbYU-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;" 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>