<div dir="ltr"><span style="font-size:13px">Correct me if I am wrong, but what you want is to share code fragments from a given codebase which wouldn't compile on their own(say, because they depend on parts of the codebase you don't want to share) but do contain compiler annotations as if they were compiled as part of the original codebase.</span><div style="font-size:13px"><br></div><div style="font-size:13px">To me this looks like more of a development tool thing than a language thing.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 6, 2015 at 7:56 PM, Roshan <span dir="ltr"><<a href="mailto:thisisroshansmail@gmail.com" target="_blank">thisisroshansmail@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Correct me if I am wrong, but what you want is to share code fragments from a given codebase which wouldn't compile on their own(say, because they depend on parts of the codebase you don't want to share) but do contain compiler annotations as if they were compiled as part of the original codebase.<div><br></div><div>To me this looks like more of a development tool thing than a language thing.</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Sun, Dec 6, 2015 at 7:46 PM, Amir Michail via swift-evolution <span dir="ltr"><<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">With Swift, the programming language is no longer a difficult part of iOS programming. That difficulty now shifts to the iOS frameworks. Although very powerful, these frameworks take time to learn.<br>
<br>
So why not allow iOS developers to easily and automatically share small code fragments with each other and have the compiler automatically use them to provide warnings as to how to code various tasks better?<br>
<br>
Recommended rewrites by the compiler would only involve small code fragments seen from multiple independent sources and so are unlikely to contain any sensitive code.<br>
<br>
<br>
<br>
_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>Warm regards<br>Roshan<br></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Warm regards<br>Roshan<br></div>
</div>