183

Coding style is like fart. Everyone is ok with their own but think everybody else's stink

Comments
  • 2
    Oh no. I know my farts defiantly stink
  • 5
    I would say
    int main()
    {
    }
    It's more clean :p
  • 21
    @Thamathar naw int main(){
    }

    Make better life choices
  • 0
    @jeeper hehe nah since I started learning programing have allways done like that, but it's a mater of habit hehe
  • 0
    I try to stick to a community standard.
  • 4
    I'll adapt to my project group.
    For solo projects I'll use:
    int main() {
    }
  • 3
    If / For / While {
    }
    Function
    {
    }
    Or Python, fuck em brackets.
  • 0
    int main() {
    ....{
    int other() {
    ....{

    Where the dots represent a 4-space tab. I know I'm a lone wolf. I adapt, wistfully.
  • 4
    int
    main()
    {
    return 0;
    }

    I'm not making this up. I have seen this abomination myself.
  • 1
    {insert prideful comment about python syntax here}
  • 0
    I follow PSR 2. I prefer tabs, but do spaces. Classes, Functions / methods have braces on their own lines I think, and then it's, else's, switches etc are egyptian.
Add Comment