All Questions
2 questions
-3
votes
1
answer
342
views
Why do people keep reusing superclass names in their subclasses?
In my project, I found one of the project's classes reusing the same name as an official one.
For example:
from django.db import models
class Model(models.Model):
class Meta:
abstract = ...
20
votes
2
answers
16k
views
How should I name functions that return values in Python?
I'm confused about choosing names for my functions in Python. Sometimes Python built-in functions are imperative such as: print function and string method find. Sometimes they aren't such as: len its ...