> Everyone(tm) knows(tm) that the "Proper Indentation"(tm) is:

if(FOO)
  {
  print "foo!";
  }
else
  {
  print "bar!";
  }

That's nuts! Er, I mean except for those on the Damian(tm) side:
Everyone(tm) knows(tm) that the "Proper Indentation"(tm) is:

if(FOO)  {
  print "foo!";
}
else  {
  print "bar!";
}

else and if are at the same 'level' so they should be at the same indent. 
The bare close curlies make it easy to comment:

if(FOO)  {
  print "foo!";
}      # if (FOO) - where we're foo-ed
else  {
  print "bar!";
}      # else not FOO - usually 'cause we're bar-ed


Though I favor:
if(FOO)  {
  print "foo!";
} else  {
  print "bar!";
}

a

Andy Bach, Sys. Mangler
Internet: [EMAIL PROTECTED] 
VOICE: (608) 261-5738  FAX 264-5932

"On the Internet, nobody can hear you being subtle," Linus Torvalds

Reply via email to