March 09, 2012
On Friday, March 09, 2012 19:13:02 Andrej Mitrovic wrote:
> On 3/9/12, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote:
> > Yeah I understood it as a general concept as well. Probably many people did. Why doesn't Andrei chime in?

I don't think that Andrei even pays attention to D.learn. Certainly, if he's ever posted in it, it's been quite a while.

> Btw, we all know how much Andrei loves generics so why the heck would he care about arrays so much to only give them special properties? I'm almost 100% sure he meant UFCS to be available for all types. And if not, I bet he wouldn't second-guess this feature. IOW I think Jonathan is just being pedantic about wording.

Arrays have been supported with such syntax for ages. UFCS has not, and it has been a subject of debate whether it should be. It certainly was not generally accepted and expected when TDPL was released that we would get UFCS. And if he _were_ talking about UFCS, then he'd be talking about stuff like 5.max(7), not just arrays. He also likely use the term Universal Function Call Syntax. But he doesn't do that. Rather, he specifically talks about arrays, and all of the examples use arrays.

- Jonathan M Davis
March 10, 2012
On Thursday, 8 March 2012 at 08:19:02 UTC, Kapps wrote:
> On Thursday, 8 March 2012 at 07:53:02 UTC, Jonathan M Davis wrote:
>> It would be nice, but I honestly don't understand the people who think that
>> the lack of it is crippling. It's just one of those nice-to-have features.
>> Most languages don't have anything of the sort.
>>
>> - Jonathan M Davis
>
> Speaking of UFCS...
> https://github.com/D-Programming-Language/dmd/commit/b7742f7a733ff73d364c6ed54af70d875d7e911b
> :D

Great news!
March 10, 2012
On 3/9/12, Timon Gehr <timon.gehr@gmx.ch> wrote:
> On 03/09/2012 07:08 PM, Andrej Mitrovic wrote:
>> Yeah I understood it as a general concept as well. Probably many people did. Why doesn't Andrei chime in?
>
> I think he does not read the D.learn newsgroup.
>

Ah poo. This is like East Berlin in here. :P
1 2 3
Next ›   Last »