A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-February/116815.html below:

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

[Python-Dev] Status regarding Old vs. Advanced String FormatingTshepang 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4