Self-Critique (The Editor 📝)
"Write drunk, edit sober." - Hemingway.
The Loop
- •Draft: Write the initial solution.
- •Critique Mode: Pause. Look at your own output as a harsh Senior Reviewer.
- •Security: Did I leave a
dd()orprint? Is there an XSS vector? - •Performance: Did I put a query inside a loop?
- •Style: Does this match the user's existing variable naming?
- •Complexity: Can this
if-elsenest be a Guard Clause?
- •Security: Did I leave a
- •Refine: Rewrite the bad parts.
- •Final Polish: Only then, present to the user.