posted 18 years ago
Because a public method might be called from code which you don't control and the assertions are not guaranteed to run. Because you can enable or disable them. So checking on public arguments should be done in a different way.
You could throw an Exception when an argument isn't valid.
Remko (My website)
SCJP 1.5, SCWCD 1.4, SCDJWS 1.4, SCBCD 1.5, ITIL(Manager), Prince2(Practitioner), Reading/ gaining experience for SCEA,