Whence came UFCS?
Simen Kjærås
simen.kjaras at gmail.com
Fri Jul 27 14:09:02 UTC 2018
On Friday, 27 July 2018 at 13:38:26 UTC, Steven Schveighoffer
wrote:
> On 7/27/18 7:24 AM, Simen Kjærås wrote:
>> Arrays' .reverse, .sort and others were added in 0.24, but I
>> can't find a download for anything before 0.50.
>
> Reverse and sort were properties (compiler built-ins), not
> extensions. If it existed in 2002, it's safe to say it was
> there pretty much from the beginning.
From what I recall, UFCS for arrays were essentially a bug - an
unintended side effect of how the properties were implemented.
But it's been 15 years, so I can't really trust my memory. :p
--
Simen
More information about the Digitalmars-d
mailing list