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
-
-
Yeah6916298y@BrianValente ah okay. I am sure with VS + ReSharper you can customize it however you like it. But I don't know about pure VS. Maybe there is an option to set this up, too?
-
Wait, this is a thing? I've always been taught to have the open/close brackets on the same line to be easy on the eyes. Now its my habit. Don't kill me. Don't judge me. Don't hate me. Don't be like me. Aaarghhh
-
MaccaMc5538y@masterakay Oh god, all the code on one line? That would make me slowly wish for death.
-
No no no not on one line!
Damn you got me wrong... Wait let me give an example.. Like this:
public someFunc()
{
if (batman=="cool")
{
echo "You're cool!";
}
else
{
echo "Meh. Batman is still cool.";
}
} -
MaccaMc5538y@masterakay Unless.... Maybe you are meaning tabbing, like keeping everything in a scope, one the same vertical line.
This is not what the image was referring to. It's simply referring to whether we put the first opening { on the same line as the statement or on a new line. -
@MaccaMc yes I meant the tabbing! Well, with my experience with Android Studio, doesn't it always follow the right method? Same with Sublime also? I might have mixed up the softwares but... Yeah?
-
MaccaMc5538y@masterakay Yeah thought you did haha. Either method is perfectly fine, just personnel preference :) Some IDE's will auto correct it to one way, and others will correct it to another.
-
Wops178yOh god, not this. Can I still be saved? I usually use both in my code, depending on how much code I have to put in.
People always give me shit about mixing them. -
bdonald11328y@BrianValente @Yeah69 Visual Studio can be customized. I use VS daily on my job. First thing I do on a fresh install is customize settings. Right side guy here.
-
Karam108yI'm both :(
At work I sometimes have to C# and sometimes have to JS... It's painful! 😂
Please don't be on the wrong side
undefined