Boundary checking & robustness# Java - 爪哇娇娃
m*t
1 楼
Looks like I missed the class, but there is a couple of points
I thought might be interesting enough for me to put here.
IMHO, boundary checking in Java contributes a lot in robustness.
While thomas is right about it is hard for a program to recover
from an out of boundary, the key point of Java's built-in boundary
checking is that it allows the program to fail in an *orderly* manner,
and prevents the anormaly condition from propagating to other parts
of the system. That is very, very important
I thought might be interesting enough for me to put here.
IMHO, boundary checking in Java contributes a lot in robustness.
While thomas is right about it is hard for a program to recover
from an out of boundary, the key point of Java's built-in boundary
checking is that it allows the program to fail in an *orderly* manner,
and prevents the anormaly condition from propagating to other parts
of the system. That is very, very important