|
|
I recently picked up that style from Bjarne Stroustrup, although he uses a
mixed bag of styles in his book C++ Programming Language, 3rd ed.
It features isolating and vertically aligning the matched pairs of braces.
It's simply faster for me to audit the braces (and their contents) with this
layout.
The style is certainly not conducive to reducing book publishing costs.
Discussions on coding style are presented in any number of programming books
but there is no consensus that I can detect.
Looks like Stroustrup hasn't made up his mind which style to use, either. If
he does I'll probably copy him.
steve
Nieminen Mika wrote:
> Steve <ste### [at] puzzlecraftcom> wrote:
> : 2. In 15 minutes it will be replaced.
>
> I think now it's overindented :)
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|