A well-written code base is a pleasure to work with. A poorly organized and brittle code base usually ends up as legacy code and hinders innovation. So how can you reduce the chances of your application being considered as legacy? Here are some recommendations:
- Django deprectations: Deprectations tell you whether a feature or idiom will be discontinued from Django in the future. Since Django 1.11, they are quiet by default. Use python -Wd so that deprecation warnings do appear.
- Code reviews: Ensure high code quality and encourage best practices in reviews.
- Consistent Formatting: Use a code formatter like black before committing code to reduce review time
- Increase code coverage: Write more tests, especially unit tests.
- Type ...