Do you pre-bracket?
#8

Quote:
Originally Posted by MP2
View Post
I fucking hate that indentation style. It makes your code really messy and unreadable.. I much prefer having my brackets aligned.
I believe there's actually proper etiquette for these languages. Entirely unsure though.

When I'm using Visual Studio to code in winJS (Java Script for Windows, Windows 8 apps) it automatically corrects my brackets to Luis' method.

pawn Code:
public Moo() {
    if(CowMoos == true) {
        Cow = 1;
    }
    return 1;
}
When I'm coding in C#, it automatically corrects my brackets to your method.

pawn Code:
public Moo()
{
    if(CowMoos == true)
    {
        Cow = 1;
    }
    return 1;
}
Reply


Messages In This Thread
Do you pre-bracket? - by MP2 - 20.07.2013, 17:26
Re: Do you pre-bracket? - by saiberfun - 20.07.2013, 17:28
Re: Do you pre-bracket? - by DaRk_RaiN - 20.07.2013, 17:29
Re: Do you pre-bracket? - by Luis- - 20.07.2013, 17:38
Re: Do you pre-bracket? - by MP2 - 20.07.2013, 17:49
Re: Do you pre-bracket? - by DaRk_RaiN - 20.07.2013, 18:02
Re: Do you pre-bracket? - by thefatshizms - 20.07.2013, 18:10
Re: Do you pre-bracket? - by SchurmanCQC - 20.07.2013, 19:08
Re: Do you pre-bracket? - by Luis- - 20.07.2013, 23:08
Re: Do you pre-bracket? - by SuperViper - 21.07.2013, 01:05

Forum Jump:


Users browsing this thread: 1 Guest(s)