Hi all,
I am using JBuilderX as an
IDE.
There are few if else loop in my code the template is as below.
if(){
}
else if()
{
}
else if()
{
}
But the surprise is after writing the whole code when I did edit->format all
JBuilder changed it to
if(){
}
else(){
if(){
}
}
else(){
if(){
}}
so my question is, what is a good practice?
if- else if or simple if else loop.
Does performance affect as per what kind of loop are you using in your code?
Thanks in advance
Suhem