[swift-evolution] Swift support for automatically sharing small code fragments with other iOS developers.

Amir Michail a.michail at me.com
Sun Dec 6 08:32:40 CST 2015


> On Dec 6, 2015, at 9:29 AM, Roshan <thisisroshansmail at gmail.com> wrote:
> 
> 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.
> 
> To me this looks like more of a development tool thing than a language thing.

I think the lines between languages, their frameworks, and their tools can be arbitrary sometimes.

In any case, making automatic code fragment sharing part of the language would result in a lot more sharing.

> 
> On Sun, Dec 6, 2015 at 7:56 PM, Roshan <thisisroshansmail at gmail.com <mailto:thisisroshansmail at gmail.com>> wrote:
> 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.
> 
> To me this looks like more of a development tool thing than a language thing.
> 
> On Sun, Dec 6, 2015 at 7:46 PM, Amir Michail via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
> 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.
> 
> 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?
> 
> 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.
> 
> 
> 
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org <mailto:swift-evolution at swift.org>
> https://lists.swift.org/mailman/listinfo/swift-evolution <https://lists.swift.org/mailman/listinfo/swift-evolution>
> 
> 
> 
> -- 
> Warm regards
> Roshan
> 
> 
> 
> -- 
> Warm regards
> Roshan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151206/c46f84b5/attachment.html>


More information about the swift-evolution mailing list