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

Roshan thisisroshansmail at gmail.com
Sun Dec 6 08:29:15 CST 2015


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:56 PM, 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.
>
> On Sun, Dec 6, 2015 at 7:46 PM, Amir Michail via swift-evolution <
> 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
>> 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/1ad229db/attachment.html>


More information about the swift-evolution mailing list