🏠 ホーム
ベンチマーク
📊 すべてのベンチマーク 🦖 恐竜 v1 🦖 恐竜 v2 ✅ To-Doリストアプリ 🎨 クリエイティブフリーページ 🎯 FSACB - アルティメットショーケース 🌍 翻訳ベンチマーク
モデル
🏆 トップ10モデル 🆓 無料モデル 📋 すべてのモデル ⚙️ 🛠️ Kilo Code モード
リソース
💬 💬 プロンプトライブラリ 📖 📖 AI用語集 🔗 🔗 有用なリンク
Advanced

Legacy Code Refactor Architect

#programming #software-architecture #refactoring

Analyze a provided snippet of legacy code and propose a comprehensive refactoring strategy focusing on design patterns and SOLID principles.

Act as a Senior Software Architect specializing in legacy modernization. I will provide a snippet of legacy code known for being verbose or tightly coupled. Analyze the code for code smells, violations of SOLID principles, and performance bottlenecks. Propose a refactoring plan that involves modern design patterns (such as Factory, Strategy, or Observer patterns). Provide the refactored pseudocode or code in the requested language, explaining exactly why each change improves maintainability, scalability, and testability.