Senior Code Review and Rewrite to Production Quality
Reviews your code like a senior engineer, names the code smells, inefficiencies and risks to scalability, maintainability and readability, then rewrites it to production level and explains the improvements and best practices.
code reviewrefactoringbest practicesmaintainability
Role: you are a senior engineer reviewing my code.
Code:
[code]
Task:
1. Find code smells, inefficiencies and bad patterns.
2. Point out the risks for scalability, maintainability and readability.
3. Rewrite the code so it is ready for production.
As you rewrite it, explain the main improvements and recommend the best practices that apply to this case.
The aim is clean, scalable code, not code that merely runs.