Coding Standards

Jonathan M Davis jmdavisProg at gmx.com
Thu Jul 14 19:14:40 PDT 2011


On Thursday 14 July 2011 22:07:03 bearophile wrote:
> Jonathan M Davis:
> > do not want to be forced to write code in someone else's style. As long
> > as people don't do completely crazy stuff with formatting, it's
> > generally easy enough to read code such that the formatting really
> > shouldn't be an issue.
> 
> But Mark Chu-Carroll is very smart and expert, he's always worth listening
> to.
> 
> The Scala coding standard:
> http://davetron5000.github.com/scala-style/index.html
> 
> I presume other D programmers share your opinion. But not using a standard
> with a bit more energy will be one of the faults of D.

Being forced to code to someone else's standard is highly unpleasant. I've 
worked with places that had strict standards and those which didn't. It's 
always been more pleasant to code without a strict standard. Sure, some code 
might be somewhat harder to read, because it uses a style that I'm not used 
to, but as long as the programmer wasn't totally crazy, it's still readable, 
and the pain of having to read their code is _far_ smaller than the pain of 
having to conform to a standard that goes against how I want to code. I 
program for a living, and I want programming to be pleasant. Having to format 
code to a particular coding standard is _not_ pleasant.

Sure, Mark Chu-Caroll may be a smart guy, but i don't agree with him. He's 
talking about his personal experience and what he found to work for him. 
That's fine. That's what works for him. It's _not_ what I want to deal with.

- Jonathan M Davis


More information about the Digitalmars-d mailing list