On 7/27/18 10:09 AM, Simen Kjærås wrote:
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
Heh, that pre-dates my D lifetime. Interesting if it was a bug!
-Steve