Make dur a property?
Maxim Fomin
maxim at maxim-fomin.ru
Thu Jan 24 07:32:35 PST 2013
On Thursday, 24 January 2013 at 15:02:02 UTC, deadalnix wrote:
> On Thursday, 24 January 2013 at 14:53:49 UTC, Maxim Fomin wrote:
>> On Thursday, 24 January 2013 at 14:25:18 UTC, deadalnix wrote:
>>> On Wednesday, 23 January 2013 at 23:39:50 UTC, Andrei
>>> Alexandrescu wrote:
>>>> We need a good DIP on this. UFCS has destroyed all arguments
>>>> in favor of requiring parens. There is no question we must
>>>> do this. Anyone inclined toward writing a detailed DIP?
>>>>
>>>
>>> Let me strongly disagree. Language feature should never be
>>> introduced where library solution is possible.
>>>
>>
>> C has strings as a concept and C++ as a library solution.
>> Which strings are better: C, C++ or D?
>
> D string string is not builtin. string is merely a thing in D.
>
> D have builtin slices, which is a generic feature that is used
> with whatever you want.
Perhaps a bad example but I disagree that any feature that can be
implemented as a library, should not be introduced as a language
feature. Some features needed to be embedded into language
because as a library features they would be very ugly.
More information about the Digitalmars-d
mailing list