3 ms·
Code layers makes sense, but organizing your code in layers does not. For example, I much prefer this: project/ feature_1/ view.py service.p
by calderwoodra 3y ago
Code layers makes sense, but organizing your code in layers does not.
For example, I much prefer this:
project/
feature_1/
view.py
service.py
model.py
feature_2/
view.py
service.py
model.py
over this:
project/
views/
feature_1_view.py
feature_2_view.py
services/
feature_1_service.py
feature_2_service.py
models/
feature_1_models.py
feature_2_models.py
And their import-linter library doesn't support this very well.