我想对 Python 类中的方法进行排序,但我不知道正确的顺序是什么。
When I extract methods in 日食 with PyDev, Eclipse puts the extracted method on top of the modified method. But this puts the lower level details before the higher level details. According to 鲍勃叔叔, I should do the opposite, so that my code reads like the headlines of a newspaper. When I program in 爪哇咖啡 I just follow his advice.
What is the best practice for Python?