Conversation

Notices

  1. This article triggers me http://rainbowdash.net/url/872662

    about 3 months ago from web
    1. @oracle I'm a big fan of the Allman style. My visual perception works better with this style (except for the space between function identifier and parameter list braces). I don't even worry indenting too much. If I have to indent a lot of levels then it's clear that I have to refactor the code block into a separate method. I barely get over the 80 character line. Even if I do cross that line I try to keep it at least below 100.

      about 3 months ago from web
      1. @adiwan My old self-taught QBASIC style was the worst, I'd try combining as many actions as I could into one line and end up at like 240 to 300 characters sometimes....

        about 3 months ago from web
        1. @scribus A friend of mine did a test at school in the computer class and one task was to write a simple program on paper. He wrote everything in "one line". His teacher said that if there were any mistakes he'd take double the penalty points. Fortunately everything was perfect, both syntactically and semantically, and the program did what was demanded.

          about 3 months ago from web
          1. @adiwan Jegus....

            about 3 months ago from web
          2. @adiwan I did that on my AP Computer Science exam free responses

            about 3 months ago from web