[swift-evolution] Language feature for progress tracking

Dave Abrahams dabrahams at apple.com
Fri Jan 22 10:25:08 CST 2016


on Thu Jan 21 2016, Charles Srstka <cocoadev-AT-charlessoft.com> wrote:

>> On Jan 21, 2016, at 4:09 PM, Dave Abrahams via swift-evolution <swift-evolution at swift.org> wrote:
>> 
>> on Wed Jan 20 2016, Dave Abrahams <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
>> 
>>> on Sun Jan 17 2016, Charles Srstka via swift-evolution
>
>>> <swift-evolution-m3FHrko0VLzYtjvyW6yDsg-AT-public.gmane.org
>>> <http://swift-evolution-m3fhrko0vlzytjvyw6ydsg-at-public.gmane.org/>>
>>> wrote:
>>> 
>>>> Introduction:
>>>> 
>>>> This is a proposal for a native progress-tracking mechanism in Swift.
>>>> 
>> <schnipp>
>>>> 
>>>> What do you all think?
>>> 
>>> I think this is really out-of-scope for swift-evolution.  There's little
>>> chance we'd want something like this in the standard library in the near
>>> term.  It's really Foundation's domain.
>> 
>> My apologies, I didn't read your post all the way down to where you
>> proposed a language feature.  I suggest that you make that clear near
>> the top of the message and/or in the subject line.
>> 
>> My (slightly more considered) feedback on this proposal is that we're
>> unlikely to add a language feature *specifically* for progress
>> reporting.  Rather, we'd like to have language features that allow users
>> to build features like this one as libraries.  Some kind of (hygienic)
>> macro system comes to mind.
>
> I suppose I can live with that. Really, my proposal breaks down into
> two parts; one for a new mechanism, and the other for a nicer syntax
> for using it. If the language were extended such that the latter could
> be possible from a library, I guess it’s all the same in the end.
>
> As an aside, do you know if new pure-Swift classes are likely to be
> added to Foundation, or is that going to remain Objective-C only for
> the foreseeable future?

Sorry, I don't know.  You should really be asking Tony that; he's the
Foundation guy.

-Dave


More information about the swift-evolution mailing list