Reimplementing the bulk of std.meta iteratively
bachmeier
no at spam.net
Tue Sep 29 18:53:26 UTC 2020
On Tuesday, 29 September 2020 at 13:44:55 UTC, Ola Fosheim
Grøstad wrote:
> On Tuesday, 29 September 2020 at 13:38:25 UTC, bachmeier wrote:
>> That's a good example. IMO there's a difference between a
>> language and bits and pieces that can be put together to call
>> random libraries.
>
> Heh, not really. It is not unusual for languages to have a
> minimal core and default include the most commonly used parts
> of their standard library. The programmer can often not tell
> the difference.
The statement was this:
> "The most important principle in a language design is to define
> a small core of essential primitives. All necessary syntactic
> sugar lowers to core constructs. Do everything else in
> libraries."
It's possible I'm wrong, but it says to me that the language
developers should design the language worrying only about that
'small core of essential primitives'. Maybe 'libraries' refers to
the standard library only, but that's not clear to me.
More information about the Digitalmars-d
mailing list