🏠 Strona Główna
Benchmarki
📊 Wszystkie benchmarki 🦖 Dinozaur v1 🦖 Dinozaur v2 ✅ Aplikacje To-Do List 🎨 Kreatywne wolne strony 🎯 FSACB - Ostateczny pokaz 🌍 Benchmark tłumaczeń
Modele
🏆 Top 10 modeli 🆓 Darmowe modele 📋 Wszystkie modele ⚙️ Kilo Code
Zasoby
💬 Biblioteka promptów 📖 Słownik AI 🔗 Przydatne linki
advanced

Legacy Code Refactoring Strategy

#coding #refactoring #architecture

Analyze legacy code to propose a modern refactoring strategy.

Analyze the following snippet of legacy code. Identify potential bugs, security vulnerabilities, and areas where cyclomatic complexity is too high. Propose a step-by-step refactoring strategy to modernize the codebase while maintaining backward compatibility. Explain the trade-offs of each suggested change, specifically focusing on performance versus maintainability.