[Python-Dev] Status regarding Old vs. Advanced String Formating

Tshepang Lekhonkhobe tshepang at gmail.com
Sat Feb 25 09:06:46 CET 2012


On Sat, Feb 25, 2012 at 02:20,  <martin at v.loewis.de> wrote:
> Zitat von Tshepang Lekhonkhobe <tshepang at gmail.com>:
>> On Fri, Feb 24, 2012 at 23:39, "Martin v. Löwis" <martin at v.loewis.de>
>>> If that issue was getting serious, I would prefer if the .format method
>>> was deprecated, and only % formatting was kept.
>>
>> Why is that? Isn't .format regarded superior?
>
> I find the .format syntax too complicated and difficult to learn. It has
> so many bells and whistles, making it more than just a *mini* language.
> So for my own code, I always prefer % formatting for simplicity.

I find that strange, especially for an expert Python dev. I, a newbie,
find it far friendlier (and easier for a new programmer to grasp).
Maybe it's because I use it all the time, and you don't?


More information about the Python-Dev mailing list