<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><span></span></div><div><div><span></span></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><br><div>On Oct 20, 2017, at 22:18, Eagle Offshore &lt;<a href="mailto:eagleoffshore@mac.com">eagleoffshore@mac.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=utf-8"><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 20, 2017, at 2:55 PM, David Sweeris 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: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">how else are we supposed to express nuances when the language’s default is wrong for the code in question?</span></div></blockquote></div><br class=""><div class="">Fix the defaults?</div></div></blockquote><div><br></div><div>K, then how do you express nuances where the “fixed” defaults are wrong?</div><br><blockquote type="cite"><div><div class="">Honestly, I'm not sure how I've been programming for so long (30+ years) without having to add half a dozen annotations to every single declaration.</div></div></blockquote><div><br></div><div>Different languages offer different levels of “compiler smarts”, and have different mechanisms for exposing said “smarts”. What language(s) are you used to?</div><div><br><blockquote type="cite"><div><div class=""><span style="color: rgb(73, 73, 73); font-family: arial; font-size: 14px; background-color: rgb(255, 255, 255);" class="">"If you think C++ is not overly complicated, just what is a protected abstract virtual base pure virtual private destructor and when was the last time you needed one?&nbsp;</span><br style="margin: 0px; padding: 0px; color: rgb(73, 73, 73); font-family: arial; font-size: 14px;" class=""><span style="color: rgb(73, 73, 73); font-family: arial; font-size: 14px; background-color: rgb(255, 255, 255);" class="">— Tom Cargill"</span></div></div></blockquote><div><blockquote type="cite"><br></blockquote></div><blockquote type="cite"><div><div class=""><span style="color: rgb(73, 73, 73); font-family: arial; font-size: 14px; background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="color: rgb(73, 73, 73); font-family: arial; font-size: 14px; background-color: rgb(255, 255, 255);" class="">Same applies to Swift at this point. &nbsp;Its jumped the shark on annotations.</span></div></div></blockquote><div><br></div>I think @discardableResult is the only one that’s generally used much in non-library code... There’s an annotation to specify the inlining behavior for when you don’t want the compiler making that decision, and one for something about transparency in the stdlib (I don’t think it’s part of the “public” language, though, because it starts with a “_”). I wouldn’t be <i>too</i> surprised if I’ve missed something, but AFAIK, Swift currently only has those two or three.</div></div></div></div><div><br></div><div>- Dave Sweeris</div></body></html>