improving the join function

bearophile bearophileHUGS at lycos.com
Mon Oct 11 19:08:24 PDT 2010


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


More information about the Digitalmars-d mailing list