代码就是在做人

一个不负责的人写出来的代码可能是这样

public Mymethod test(String abc,String def ){

if(abc!= null || !"abd".equals(abc)){

   if(def!= null || !"edf".equals(def)){

       

   }

}else{

}

}

猜你喜欢

转载自hangzhoujava.iteye.com/blog/2384789