3 ms·
It shields you from a lot. For example if you create an array x of size 100 and in some other piece of code you write x[101] it throws a compile-time error an
by mtmail 11y ago
It shields you from a lot. For example if you create an array x of size 100 and in some other piece of code you write x[101] it throws a compile-time error and the error is human readable and explains what's wrong. It's a good approach overall.