实验五 - 重构
原文英文,约400词,阅读约需2分钟。发表于: 。Improvements... This week I had the task of focusing on improvements I can make to my code, while keeping functionality, and attempting to rebase my branches. Fixes... The fixes I...
本周我专注于代码改进,去除全局变量、将提示逻辑分离成函数、消除冗余、优化变量命名。重置分支时遇到旧提交混入的问题,并在重构提示逻辑时修复了程序错误。尽管过程艰难,我解决了问题并获得了经验。