if (//some condition) {
//some code
} else {
//other code
}
or
if (//some condition) {
//some code
}
else {
//other code
}
if (//some condition) {
//some code
} else {
//other code
}
or
if (//some condition) {
//some code
}
else {
//other code
}
I think the first one isn't good, and I have the same feelings about the second one