Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
XCode & braces
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Spook" data-source="post: 735712" data-attributes="member: 68138"><p>I don't like the K&R style, i.e.:</p><p></p><p>void Foo {</p><p> int n = 0;</p><p> ...</p><p>}</p><p></p><p>I prefer the BSD style, which is prevalent among all the programmers I have worked with and which I prefer (it is easier to read):</p><p></p><p>void Foo</p><p>{</p><p> int n = 0;</p><p> ...</p><p>}</p><p></p><p>How can I set XCode to use the BSD style, as currently it is setup for the K&R style? I have looked through the preferences but cannot see where!</p></blockquote><p></p>
[QUOTE="Spook, post: 735712, member: 68138"] I don't like the K&R style, i.e.: void Foo { int n = 0; ... } I prefer the BSD style, which is prevalent among all the programmers I have worked with and which I prefer (it is easier to read): void Foo { int n = 0; ... } How can I set XCode to use the BSD style, as currently it is setup for the K&R style? I have looked through the preferences but cannot see where! [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
XCode & braces
Top