In article <··········@caslon.CS.Arizona.EDU>
·····@CS.Arizona.EDU "Nevin Liber" writes:
> for (expr; expr; expr) {
> }
>
> even if there is nothing or just one statement between the brackets. It
> helps me avoid a class of bugs, especially when it comes to changing
> the code later.
I avoid unmatching brace errors by avoiding nesting deeper than 3
or 4 levels. Even 4 levels feel deep to me. When I want to avoid
nesting altogther, I use Forth. (Curiously, the language that makes
me return to Forth most often is C/C++.)
--
Future generations are relying on us
It's a world we've made - Incubus
We're living on a knife edge, looking for the ground -- Hawkwind