News for hackers. Stuff that matters.
Re:The People’s Republic of Google by pyre on Friday September 11, 2009 @04:24PM (#818056)
I think the point was that you can't say "Oh! So-and-so wrote this section, because all of the code blocks are like:

  if () {
  }
instead of

  if ()
  {
} "

Or "I know that so-and-so wrote this piece of code because there are goto's everywhere since he started off as a ASM programmer that eventually became a C programmer."

I've maintained a codebase that started in '89, and I'll tell you that there were some messy things in the code and lots of it was unmaintainable (well, 'maintenance' requires either 'major rewrite' or 'dirty dirty dirty hack'). I could go into code and see 3-4 different ways of accessing the database used within the same program. This is the kind of stuff that I'm assuming he's talking about. I've seen code where there are 'layers' like some sort of core-sample that allow you to tell when/who modified the code and what 'era' it was modified in.

Re:The People’s Republic of Google by curtis on Friday September 11, 2009 @05:21PM (#818165)
That may be what neilk meant, I can't say. It's not what I meant. Even given the same style guide, you could probably tell the difference between my code and someone else's because I tend to write shorter functions, longer function names, and I use temporaries aggressively, especially to avoid linebreaks at inconvenient spots. I also write a lot of one or two-line block comments.