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
-
Right.
Our style guides tend to dictate the braces on a new line for classes and methods but for control blocks we use one space after parentheses. -
Xevion1578y@Big-R I have not done much C# programming. Is it common to put it on an new line there?
-
Tonyobyo3138yGenerally the right.
Since I've been trying to learn C# I've been doing the left though but it just feels weird to me -
The left one seems so evil. It reminds me of turbo pascal:
procedure foobar()
begin
{* statement *}
end;
Related Rants
Which one are you? Also, please explain why! 😀
undefined
curly braces