Navigation
Recherche
|
[$] Python identifiers, PEP 8, and consistency
mardi 30 novembre 2021, 23:15 , par LWN.net
While there are few rules on the names of variables, classes, functions,
and so on (i.e. identifiers) in the Python language, there are some guidelines on how those things should be named. But, of course, those guidelines were not always followed in the standard library, especially in the early years of the project. A suggestion to add aliases to the standard library for identifiers that do not follow the guidelines seems highly unlikely to go anywhere, but it led to an interesting discussion on the python-ideas mailing list.
https://lwn.net/Articles/877115/rss
|
56 sources (32 en français)
Date Actuelle
dim. 28 avril - 05:57 CEST
|