Underscore/Camelcase insensitivity

Martijn Faassen m.faassen at vet.uu.nl
Tue Feb 25 16:55:50 EST 2003


Alexander Schmolck <a.schmolck at gmx.net> wrote:
> m.faassen at vet.uu.nl (Martijn Faassen) writes:
> 
>> Neat! I haven't dared trying to read your code yet though. :)
> 
> Well, if you want to increase your confidence in that it works without having
> to read it, I can send you the numerous test cases I wrote for it :)

Yes, now the problem intrigues me, so could you mail them to me?

> But If you can come up with something readable that still
> 
> 1) splits correctly
> 2) preserves all case information that is not used for boundary demarcation
> 3) moans about illegal input (but not about leading and trailing underbars)
> 
> that would be even better (and the test examples might help).

Except that even if more readable it might be still significantly slower. 
Anyway I agree that the problem is surprisingly complicated if you put
these requirements on it.

Regards,

Martijn
--
History of the 20th Century: WW1, WW2, WW3?
No, WWW -- Could we be going in the right direction?




More information about the Python-list mailing list