memory management and the standard library
Jacob Carlborg
doob at me.com
Sun Mar 17 09:50:15 UTC 2019
On 2019-03-15 00:06, H. S. Teoh wrote:
> OTOH, though, these twists and turns in the development of the language
> are also an integral part of what it is; UFCS, for example, came about
> from a clever hack added in order to make built-in arrays compatible
> with the then newly-introduced range API. Later on, people clamored for
> this "hack" to be extended to other types and become officially
> accepted. It was a huge success IMO. Nowadays, I can't imagine writing D
> code without UFCS.
That's not what happened. UFCS for arrays existed in D1, long before D2
and when ranges were introduced.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list