Congratulations to the D Team!

David Piepgrass qwertie256 at gmail.com
Mon Jul 9 08:13:15 PDT 2012


Thanks for doing this! I haven't contributed yet, but it was 
worrisome hearing about various pull requests languishing for 
long periods. Now maybe I should go learn how to use git...

On Monday, 9 July 2012 at 07:56:40 UTC, Jonathan M Davis wrote:
> As far as I'm concerned, 3.minutes() is a prime example of 
> what's wong UFCS.
> UFCS can be very useful, but oh how I hate that syntax 
> (completely aside from
> the particular function being called, I think that 3.anything() 
> is horrible).
> But obviously not everyone agrees.

Certainly not. C# has had this syntax since 1.0 (albeit not 
extension methods until v3.0, but IIRC you could always write 
3.ToString() or 3.HashCode and, incidentally, int.Parse("3") etc. 
Ruby has it too (not UFCS per se, but you actually can add 
methods to any class including integers, IIRC)


More information about the Digitalmars-d mailing list