M
Morten Wennevik
A bit non topic but ...
When using code blocks which do you prefer
while( condition ) {
stuff
}
or
while( condition )
{
stuff
}
I prefer the latter version. I like to keep the curly braces on the same
indentation level.
But out of curiosity, what do YOU prefer?
Also in a do while which one would you prefer
do {
stuff
} while( condition );
do {
stuff
}
while( condition );
do
{
stuff
} while( condition );
do
{
stuff
}
while( condition );
I would prefer having the braces on the same indentation and alone.
When using code blocks which do you prefer
while( condition ) {
stuff
}
or
while( condition )
{
stuff
}
I prefer the latter version. I like to keep the curly braces on the same
indentation level.
But out of curiosity, what do YOU prefer?
Also in a do while which one would you prefer
do {
stuff
} while( condition );
do {
stuff
}
while( condition );
do
{
stuff
} while( condition );
do
{
stuff
}
while( condition );
I would prefer having the braces on the same indentation and alone.