• Create Account

We're offering banner ads on our site from just \$5!

### #ActualDwarf King

Posted 21 April 2013 - 12:52 PM

Consistency also has to do with how you format your code.  If you put your braces in one place part of the time, and in another the rest of the time, then you're not being consistent.

Luckily, I always put opening braces at the end of the line and closing braces on their own line, making me quite consistent.

>>before people starting getting offended by me criticizing their "preferred" style.

Basically I can just stop here since you completely missed the point.

No one really cares enough to be offended, and many people are on your side.
So why were you singled out?
Because those people took an “it is my opinion” approach while you simply stated “X style is best” and “Y style is bad”.

This style is the best one.

The reason this style is bad

See?
All styles are a matter of opinion, so stop stating things as a matter of fact, or I will single you out harder next time. Trust me, I have been holding back in lieu of happy days and things going my way—getting married, getting a raise, getting back my motivation for my job (overcoming the phil67rpg disease) and technical work and my book, etc.

L. Spiro

Are you getting married? A great congratulation from me Always great to read some good news around the net. Oh back on topic...

Personally I prefer this style:

if(something)
{
Something
}
else
{
something
}


Like many other have showed. Good or bad style is not an issue for me. This style is just what makes my eyes happy

### #1Dwarf King

Posted 21 April 2013 - 12:52 PM

Consistency also has to do with how you format your code.  If you put your braces in one place part of the time, and in another the rest of the time, then you're not being consistent.

Luckily, I always put opening braces at the end of the line and closing braces on their own line, making me quite consistent.

>before people starting getting offended by me criticizing their "preferred" style.

Basically I can just stop here since you completely missed the point.

No one really cares enough to be offended, and many people are on your side.
So why were you singled out?
Because those people took an “it is my opinion” approach while you simply stated “X style is best” and “Y style is bad”.

This style is the best one.

The reason this style is bad

See?
All styles are a matter of opinion, so stop stating things as a matter of fact, or I will single you out harder next time. Trust me, I have been holding back in lieu of happy days and things going my way—getting married, getting a raise, getting back my motivation for my job (overcoming the phil67rpg disease) and technical work and my book, etc.

L. Spiro

Are you getting married? A great congratulation from me Always great to read some good news around the net. Oh back on topic...

Personally I prefer this style:

if(something)
{
Something
}
else
{
something
}


Like many other has showed. Good or bad style is not an issue for me. This style is just what makes my eyes happy

PARTNERS