I usually follow the principal "failure in a model
does not fail a control" -- It is a valuable suggestion, thanks
不过目前我主要纠结的就是control怎么获取足够的错误信息来弹出相应的error message。目前感觉只能通过枚举 或者 异常(多态)来通知control
【 在 XeCycle 的大作中提到: 】
: many possible reasons of failure is an indication of trying to do
: too much inside one function.
: and of course, if you split up each piece of work into its own function,
: ...................
--
FROM 123.157.71.*