我正在阅读PEP 0008 (the python style guide),遇到了以下原因,即不遵循样式指南中的任何规则。在
它说打破规则
be consistent with surrounding code that also breaks it (maybe for historic reasons) -- although this is also an opportunity to clean up someone else's mess (in true XP style).
“真正的XP风格”是什么意思?在
Tags:
正如评论中提到的,XP在这里指的是Extreme Programming。我认为“有机会清理别人的烂摊子(用真正的XP风格)”这句话可能是半开玩笑。虽然重构和设计改进是XP的核心实践,但许多评论家认为,这通常会导致同一代码需要多次重写。在
相关问题 更多 >
编程相关推荐