I was almost certain we had already had this poll, but all the searching in the world couldn't seem to find it. So here it is: curly brace placement has been a hotly debated topic at my work place. Arguments have included the popularity of one style over the other, companies that use it in their documentation, etc... What do you use? Any particular reason why?
I used to use style 2, because I learned C from Borland manuals and that's what they use. However I switched to style 1 at my current job because it's what my first project was already using - and now it's just a habit.Code: