What is the correct position of braces or does it not matter
Posted
by TheLearner
on Stack Overflow
See other posts from Stack Overflow
or by TheLearner
Published on 2010-06-09T13:47:36Z
Indexed on
2010/06/09
13:52 UTC
Read the original article
Hit count: 229
I noticed in Objective C that xcode automatically uses a strange position of braces:
if (statement) {
}
whereas I am used to using:
if (statement)
{
}
it just makes it easier to read. Is it a matter of preference or is a standard that should be followed when writing Objective C applications?
© Stack Overflow or respective owner