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
		- 
				
				
darkcode8219yHave the ++ young grasshopper. May you change your mind before ever working in my team. :) - 
				
				
Cobalt5479y@darkcode curious though, why is the latter preferred so much? I like the former because it lines the braces nicely, you can see where it begins and ends. - 
				
				willol13849y@Cobalt well I can perfectly see where it begins and ends with the second style too! Indentation is enough for that anyway (cf Python).
I prefer the second because it allows me to see more LOC on my screen, without sacrificing readability. The first one feels like a useless empty line.
For info, the second style is the one used in Git and the Linux kernel :) - 
				
				def something():
pass
or
function something()
end
In my case
And the occasional
function something() {
}
or
something = function() {
} 

void method
{
}
>
void method {
}
undefined