refactoring-suggester

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Refactoring Suggester

重构建议工具

Purpose and Intent

用途与目标

The
refactoring-suggester
teaches students and engineers how to evolve code. It doesn't just point out problems; it provides a recipe for how to fix them correctly.
refactoring-suggester
旨在指导学生和工程师如何优化代码。它不仅指出问题,还提供正确修复问题的方案。

When to Use

使用场景

  • Code Cleanup: Use when a codebase has become difficult to manage or "messy."
  • Learning Exercises: Show students how to transform their working code into "clean" code.
  • 代码清理:当代码库变得难以管理或“杂乱”时使用。
  • 学习练习:向学生展示如何将可运行的代码转化为“整洁”代码。

When NOT to Use

不适用场景

  • Performance Optimization: This tool focuses on maintainability, not necessarily on squeeze-every-cycle performance.
  • 性能优化:该工具专注于可维护性,并非旨在榨取每一个性能周期的极致优化。

Security and Data-Handling Considerations

安全与数据处理注意事项

  • Operates locally on provided source code.
  • 仅在本地对提供的源代码进行操作。