On Fri, 29 Aug 2003 19:03:54 -0500 Alan Shutko <[EMAIL PROTECTED]> wrote: > We try to hire people with a basic knowledge of the language.
Which does not negate the fact that stupid mistakes happen. The common error of... if cond bar; baz; ...in C can be avoided by the braces being there. Furthermore once you get in the habit it really is no wasted effort. In fact it helps because you just do it instead of "uhm, ok, this time I won't put braces, er, wait." > I can see your concern with the fifteen different ways perl can > represent ifs (at least the language doesn't have COME FROM) but this > is a bit excessive? Do you also wrap if bodies in a few extra layers > of parentheses, in case someone comes along and wants to add a || and > forgets to? No because that's generally on the same line and you can see plainly whether it needs it or not. -- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your PGP Key: 8B6E99C5 | main connection to the switchboard of souls. -------------------------------+---------------------------------------------
pgp00000.pgp
Description: PGP signature