Coding standards

Each developer has its own view on coding standards. What about you ?

Do you prefer this syntax :
[java]int arrayIndex = 1 ;
boolean isOk = true ;

if (isOk)
{
doSomething() ;
}
else if (1 == arrayIndex)
{
doSomethingElse() ;
}

public static boolean contains (int[] anArray, int aValue)
{
for (int i = anArray.length – 1; i >= 0; i–)
{
if (anArray [i] == aValue)
{
return true ;
}
}
return false ;
}[/java]

or this one :
[java]int array_index=1;
boolean isOk;
isOk=true;
if (isOk == true) {
do_something();
} else if (array_index==1) {
do_something_else();
}

public
static
boolean
contains (int[] array, int value) {
boolean found;
for (int i=anArray.length-1; i>=0; –i) {
if (aValue==anArray [i]) {
found=true;
break;
}
return found ;
}[/java]
I’ve been using the former for a long time now (on JAVA and C/C++) and I couldn’t change my habits so easily.