摘要:
public class Test1 { public static void main(String[] args) { Student student = null; test(student); if(student == null) { System.out.println("学生对象为空! 阅读全文
posted @ 2022-06-01 14:37
信铁寒胜
阅读(29)
评论(0)
推荐(0)
摘要:
1、现在发现一个Java GUI页面的代码最好不要超过1500行,不然维护起来就会比较困难,原则上不能超过2000行 1、可以把一些里面用到的公共方法移除 2、把一些很少改动的方法迁移 3、把一些结构化占用行数的修改(如果空着几行没有代码那种,代码写得稀稀疏疏那种,尽量让代码紧凑些) 4、理顺逻辑, 阅读全文
posted @ 2022-06-01 13:30
信铁寒胜
阅读(28)
评论(0)
推荐(0)

浙公网安备 33010602011771号