Something needs to happen with shared, and soon.

Jacob Carlborg doob at me.com
Sat Nov 17 07:18:11 PST 2012


On 2012-11-17 14:22, Michel Fortin wrote:

> Sometime having something built in the language is important: it gives
> first-class status to some constructs. For instance: arrays. We don't
> need language-level arrays in D, we could just use a struct template
> that does the same thing. By integrating a feature into the language
> we're sending the message that this is *the* way to do it, as no other
> way can stand on equal footing, preventing infinite reimplementation of
> the concept within various libraries.

If a feature can be implemented in a library with the same syntax, 
semantic and performance I see no reason to put it in the language.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list