mercredi 7 novembre 2018

What's considered the best convention for an if clause with one statement in Java?

Is it best to use

if (condition) 
{
    <statement>;
}

or

if (condition) <statement>;

Which is best for readability?

Aucun commentaire:

Enregistrer un commentaire