Re: Splitter quiz / survey -- PLEASE NO

2009-04-27 Thread Derek Parnell
On Mon, 27 Apr 2009 15:12:59 -0700, Walter Bright wrote: > Andrei Alexandrescu wrote: >> I have been convinced. I will modify splitter to do (4), i.e., prepend >> or append an empty element if there's a leading, respectively trailing, >> separator. Thanks to all for destroying me :o). > > Looks

Re: Splitter quiz / survey -- PLEASE NO

2009-04-27 Thread Walter Bright
Andrei Alexandrescu wrote: I have been convinced. I will modify splitter to do (4), i.e., prepend or append an empty element if there's a leading, respectively trailing, separator. Thanks to all for destroying me :o). Looks like I must concede, too .

Re: Splitter quiz / survey -- PLEASE NO

2009-04-27 Thread Brad Roberts
On Mon, 27 Apr 2009, Andrei Alexandrescu wrote: > I have been convinced. I will modify splitter to do (4), i.e., prepend or > append an empty element if there's a leading, respectively trailing, > separator. Thanks to all for destroying me :o). > > Actually, Brad, since it was your idea, I sugges

Re: Splitter quiz / survey -- PLEASE NO

2009-04-27 Thread Andrei Alexandrescu
downs wrote: Andrei Alexandrescu wrote: bearophile wrote: Andrei Alexandrescu: Splitter does what Perl's split does: 2. Perl has to die. This is Python: This answer is wrong for a number of reasons. First comes the fallacy that if Perl "has to die", everything Perl did was wrong. Second come

Re: Splitter quiz / survey -- PLEASE NO

2009-04-27 Thread downs
Andrei Alexandrescu wrote: > bearophile wrote: >> Andrei Alexandrescu: >>> Splitter does what Perl's split does: 2. >> >> Perl has to die. This is Python: > > This answer is wrong for a number of reasons. First comes the fallacy > that if Perl "has to die", everything Perl did was wrong. Second co