improving the join function

Eric Poggel dnewsgroup2 at yage3d.net
Mon Oct 11 19:16:32 PDT 2010


On 10/11/2010 10:08 PM, bearophile wrote:
> Daniel Gibson:
>
>> But right now the point is: join() does something completely different and should be renamed (or
>> deprecated in std.string and replaced by union() - a real join isn't needed in std.string anyway,
>> but when join() is deprecated in std.string you can implement a real join in std.algorithm without
>> causing too much confusion).
>
> I like the std.string.join() function, in Python I use the str.join() method often... :-)
>
> Bye,
> bearophile

Most other languages call their equivalent function join.  Renaming it 
would be confusing.


More information about the Digitalmars-d mailing list