Author: Russell Reagan
Date: 18:25:40 10/08/03
Go up one level in this thread
On October 08, 2003 at 20:26:11, Omid David Tabibi wrote:
>if (...) {
>
>} else {
>
>}
I use the lengthy approach, because the more whitespace, the more readable it
is, and that is the only factor that matters in this situation. I personally
find the "} else {" phrase to be quite a mess when you have a lot of code with a
lot of different loops or if statements.
}
else {
is better IMO, but I'd prefer:
}
else
{
Sometimes I even do:
if (...)
{
}
else
{
}
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.