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
-
Sumafu22426yI prefer always the first. But when writing C# then ReSharper forces me to write the second.
-
I prefer the first, but I’m easy-going and don’t judge if you prefer the second. Unless you intentionally use one that disagrees with the project linter and intentionally don’t use aforementioned linter.
-
The second, It works with replacing, Automatic code gen and I never want to see without {}
if(DoSomething)
ExecuteMe(); -
@Pandee Just, kill him. Why obligating people to use a type of coding. OMG it's absurd. Those type of coding is a choice that yourself have to do
-
RealKC9586y@HamsterOh unless you start a project, the stylistic choices won't be your hand. Though you might not agree with the professors choice, I think it's a good way to get students used to how it will happen in the industry.
You are team:
MyFunction {
}
Or
MyFunction
{
}
For me it's the first one.
joke/meme
comma team joke question meme functions