|
From: Jim B. <ji...@ch...> - 2010-06-23 22:22:31
|
On 2010-06-23 22:39, Stephan Assmus wrote: > I have no idea yet what the boost style is, I just hope it doesn't try to encode the type into variable names, which I find greatly reduces readability. Gosh no - "Hungarian notation" is a total and utter abomination! Death to Hungarian notation! :-) The Boost style guide is here: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml > The very simple and strong argument pro a hard 80 char/line limit is that horizontal scrolling sucks. Thus there ought to be "some" limit Yes, of course, but 80 characters is a little bit low for modern times, I think. I used to restrict myself to 80 characters but increasingly I found it just wasn't enough so now I don't have a hard limit but I generally code to 100 characters or maybe slightly more. Most of the time I don't get anywhere near that though, as I try to avoid excessively deep nesting and suchlike. > In any case, discussions about the perfect style have a great potential to go out of hand How true. > In general, though I am perfectly happy with the AGG coding style. Changing an entire code base with a decent style to another style could also be considered a waste of time. Yes, other than the fixed-pitch whitespace alignment, I don't have a problem with it. Cheers, - Jim |