memory management and the standard library

H. S. Teoh hsteoh at quickfur.ath.cx
Sun Mar 17 10:42:37 UTC 2019


On Sun, Mar 17, 2019 at 10:50:15AM +0100, Jacob Carlborg via Digitalmars-d wrote:
> 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.
[...]

Wasn't that a parser quirk or something that was later taken advantage
of?


T

-- 
It always amuses me that Windows has a Safe Mode during bootup. Does that mean that Windows is normally unsafe?


More information about the Digitalmars-d mailing list