🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links
advanced

Legacy Code Modernization

#coding #refactoring #architecture #clean-code

Refactor a legacy codebase to modern standards with a focus on SOLID principles.

You are an expert software architect. Analyze the provided legacy code snippet. Identify security vulnerabilities, performance bottlenecks, and violations of SOLID principles. Refactor the code into a modern, modular structure using the language of your choice or the one provided. Ensure the refactored code includes comprehensive error handling, typing (if applicable), and clear documentation comments. Finally, provide a detailed 'Changelog' explaining every modification made and the rationale behind it.