note
Ovid
I've also heard this complain and I agree with you: it stems from people so used to other languages that it looks foreign.
<p>
Personally, I tend not to put the <tt>if</tt> after the statement unless the statement will be executed <strong>most</strong> of the time. Then when it comes to maintenance and someone is scanning the code, they will often see that and understand that it's the norm rather than the exception.
<P />
Cheers,<br />
<a href="/index.pl?node=Ovid&lastnode_id=1072">Ovid</a>
<P />
<FONT SIZE="1">Join the <A HREF="http://setiathome.ssl.berkeley.edu/stats/team/team_86606.html">Perlmonks Setiathome Group</A> or just click on the the link and check out our stats.</FONT>
75563
75574