代码重构 2020-04-06 本文已影响0人 jamin_ 一、大函数拆分 不让一个方法,承载过多的功能,代码偏多时,考虑进行拆分。拆分的代码方便复用! 参考: https://www.cnblogs.com/ludashi/p/5223241.html