Movatterモバイル変換


[0]ホーム

URL:


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

Tshepang Lekhonkhobetshepang 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-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp