reddit.com: first Chapter of TDPL available for free
Sergey Gromov
snake.scaly at gmail.com
Mon Aug 10 06:15:52 PDT 2009
Sun, 09 Aug 2009 16:10:38 -0500, Andrei Alexandrescu wrote:
> Michel Fortin wrote:
>> On 2009-08-09 14:10:10 -0400, Andrei Alexandrescu
>> <SeeWebsiteForEmail at erdani.org> said:
>>
>>>> But shouldn't they work with *ranges* in general, a string being only
>>>> a specific case?
>>>
>>> That's true as well! In my dreams, me and the famous actress... oh
>>> wait, wrong dream. In my dreams, I eliminate std.string and put all of
>>> its algorithms, properly generalized, in std.algorithm, to work on
>>> more than just arrays, and more than just characters.
>>
>> And what is preventing the dream from comming true, I mean, the one
>> about string functions? Is there someone who doesn't want this?
>
> 1. Time. 2. It would break a lot of code that uses strings (I know, not
> a very strong argument.) Time is the main issue.
std.string could stay as a compatibility wrapper around std.algorithm.
Though this puts even more stress on the "Time" concern.
More information about the Digitalmars-d
mailing list