Senior
Imagine a situation: you joined a project where the code has been written for years, there is a lot of legacy, no tests, and everything is barely breathing. Where would you start in such a situation if you need to implement a new feature?
sobes.tech AI
Answer from AI
In such a situation, I would start with assessing the current state of the code and infrastructure:
- Code and architecture analysis: understand how the system is structured, identify key modules and dependencies.
- Test coverage: if there are no tests, begin by writing minimal integration or unit tests for critical parts to reduce risk when making changes.
- Refactoring as needed: avoid trying to rewrite the entire code immediately, instead improve it locally when adding new functionality.
- Implementing new features: develop new functionality following best practices, using tests and documentation.
- Automation: set up CI/CD to ensure stability and quality control.
This approach will gradually improve code quality and implement new features without significant risks.