For me, the cutoff point is more like 50 lines of code, whereas some developers would say that a method is too long if it requires you to scroll down to see its entire body.
就我而言,截止点(cutoff point)大约是50行代码,但有些开发人员会说,如果某一方法需要您向下滚动整整一天才能看完,那么该方法太长了。
For me, the cutoff point is more like 50 lines of code, whereas some developers would say that a method is too long if it requires you to scroll down to see its entire body.
就我而言,截止点(cutoff point)大约是50行代码,但有些开发人员会说,如果某一方法需要您向下滚动整整一天才能看完,那么该方法太长了。
应用推荐