.title() - annoying mistake

Robert Latest boblatest at yahoo.com
Mon Mar 22 05:29:29 EDT 2021


Grant Edwards wrote:
> On 2021-03-20, Robert Latest via Python-list <python-list at python.org> wrote:
>> Mats Wichmann wrote:
>>> The problem is that there isn't a standard for title case,
>>
>> The problem is that we owe the very existence of the .title() method to too
>> much weed being smoked during Python development. It makes specific
>> assumptions about a specific use case of one specific language. It doesn't
>> get more idiotic, frankly.
>
> Ah, you've never used PHP then?
>
> I haven't checked but it's a fair bit that PHP has 3-4 different built-in
> ways to do it, and they're all broken in interestingly unpredictable ways.

I believe that 100%. PHP is the reason I switched to Python/WSGI, and I'm
loving it. 

robert


More information about the Python-list mailing list