TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
What are some good and bad names you've encountered in Python code?
3 points
by
rekahrv
almost 2 years ago
3 comments
Kinsley89
almost 2 years ago
Collapse
Some good names I’ve seen are descriptive, consistent, and follow PEP 8 conventions. Some bad names I’ve seen are vague, misleading, or too long or short.
评论 #36029746 未加载
jjgreen
almost 2 years ago
Collapse
Do you mean names of variables, functions etc?
评论 #36029059 未加载
hitchstory
almost 2 years ago
Collapse
Good and bad names are a result of context.
评论 #36029771 未加载