Splitter quiz / survey
Robert Fraser
fraserofthenight at gmail.com
Mon Apr 27 09:55:17 PDT 2009
Andrei Alexandrescu wrote:
> Jason House wrote:
>> Before reading your post, I was going to say that I'd expect 4, would
>> accept 1, and consider 2 or 3 to be buggy! Notice how under your new
>> proposal everyone would still get the behavior wrong when reading the
>> code.
>
> everyone posting heavily in thiss group != everyone
Yes, but it's a representative (albeit small) sample of the user base.
> Andrei
>
>
> P.S. I scrolled down your post looking for counter-evidence that you
> might have brought, but found only the please-don't-do-this-again empty
> quote. It wastes everybody time looking in vain for nuggets of responses
> within the quoted text.
Is consistency a good argument? std.string.split currently does (4).
Java and C#'s split() methods work like (4). strtok does (4). Is there
any other language/function besides Perl that does (2)?
More information about the Digitalmars-d
mailing list