Quote:
Originally Posted by danielf
Here's my Monty Hall. It's in LISP again, but nobody speaks LISP
|
ah..... lisp.....next thing we know we'll have code in Occam and Prolog
---------- Post added at 07:27 ---------- Previous post was at 07:25 ----------
Quote:
Originally Posted by Damien
I find it's a space thing, if it's one line it's just ugly.
Code:
if (ProductType == ProductType.Software)
{
// do something
}
else
{
//do something else
}
or
Code:
if (ProductType == ProductType.Software)
// do something
else
//do something else
|
well, again, Sun coding standards say that you should do :
Code:
if (true) {
// something
} else {
//something else
}
which is slightly less bulky..