5
Hazen
8y

what does devRant prefer?

controlstructure
{
//something
}

or

controlstructure {
//something
}

Comments
  • 2
    I think I normally do:
    whatEver() {
    // The thing
    }
    *note camelCase and that Tab is set to 4 spaces
  • 2
    2nd one and either tab or 4 spaces in the indentation
  • 1
    I prefer a lack of pointless arguments on my developer discussion sites :)
  • 0
    Didn't we already have this conversation? Lol.
  • 1
    Oddly enough i have noticed i have a preference as follows:

    conditional/itterator
    {
    }

    function/decleration {
    }

    And frankly i havent a clue as to why
  • 0
    I personally like to use camelCase and the first one, but most company code use the second one ... so I usually follow along for the sake of uniformity. 😣

    Btw, this question always end in tears. People take these kind of preferences seriously.
  • 1
    Depends on the programming language in Java I use the second but in C++ I use the first.
  • 0
    well, depends..
Add Comment