Ranter
Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
 
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Comments
		
- 
				
				Second! Because if the brackets are at the same stop on multible lines, its easier to find pairs.
- 
				
				@NoNameCode Are you using IDE or Editor? I know that VS works better with first...
- 
				
				@NoNameCode I'm an editor guy... Vim for everything. IMO it makes a difference there. But everything style related is opinion based... so... live and let live.
Related Rants














 "I wrote the code, I have to maintain the code, I wont need any comments" 
*some months later*
"I wrote the code, I have to maintain the code, I wont need any comments" 
*some months later*
 Code comments be like....
Code comments be like....
What is everyone's preferred formatting for functions/if statements. Does the first curly brace go on the same line or a new line?
function 1() {
}
or
function 2()
{
}
undefined
syntax
comments
question
formatting