提高擴展性
提高擴展性
1. 命名 更泛化, 不特定 more fundamentally, this is for children documents
2. 使用枚舉,而不是屬性 isXXX
3. 使用工廠類實現
4. 對數據使用標志Type,以區分不同場景
直接用屬性 是否為空來加入一些計算邏輯
Approve
lg
le
Decline
lg
le
#
做好異常處理,出現異常后 重新執行
while(issuccess){
try{
issuccess=true
}catch
{issuccess=false;
}
}

浙公網安備 33010602011771號