News for hackers. Stuff that matters.
Re:The tyranny of the Hollerith punched card by andrey_utkin on Monday June 06, 2016 @11:16AM (#11847371)
but "20-odd" (let it be 24) is just 3 * 8, which is something like this. I don't see how this is already screwed up for complexity.

  class A
  {
        A::a()
        {
              if (expr) {
                    do1();
              } else {
                    do2();
              }
        }
  }
Re:The tyranny of the Hollerith punched card by zokier on Monday June 06, 2016 @11:29AM (#11847478)
I think most people have converged to 4 space tabstops, so 24 spaces means 6 levels of indentation.
Re:The tyranny of the Hollerith punched card by sixothree on Monday June 06, 2016 @01:57PM (#11848789)
Namespace, class, method, loop, conditional brings us to 20.
Re:The tyranny of the Hollerith punched card by vertex-four on Monday June 06, 2016 @12:18PM (#11847894)
I don't actually know of any project which uses 6 or 8 characters per indentation level.
Re:The tyranny of the Hollerith punched card by andrey_utkin on Monday June 06, 2016 @12:46PM (#11848124)
8 chars is default tab size. So e.g. "git diff" shows you 8-position tabs. Github (and Bitbucket, etc.) diff visualizer also shows it as 8 positions. Any editor should use 8 by default, too.

And, believe me or not my space-loving friends, tab-indented codebases still exist.

Re:The tyranny of the Hollerith punched card by khedoros on Monday June 06, 2016 @02:34PM (#11849095)
My first change to any editor is to set tabstops at 4 characters. That's the standard policy at my employer, and I like it for my own projects, as well.
Re:The tyranny of the Hollerith punched card by vertex-four on Monday June 06, 2016 @12:58PM (#11848226)
My editor definitely puts tabstops at 4. Weird.