[vtk-developers] PROPOSAL: Changing VTK's indentation style

David Gobbi david.gobbi at gmail.com
Thu Sep 10 13:13:35 EDT 2015


Hi Bill,

I suspect this will have a positive impact on external contributions.

The jargon file is ancient, there is no way that Whitesmith still
has equal mind share.  Other than VTK and ITK, what large
projects (or companies) still use Whitesmith?

 - David


On Thu, Sep 10, 2015 at 11:01 AM, Bill Lorensen <bill.lorensen at gmail.com>
wrote:

> Once again, a +1 for a change, but I wish we could spend more cycles
> on this that have more impact like new algorithms, external
> contributions, code coverage, etc...
>
> In defense of the current vtk style (whitesmith) that so many people
> hate, according to wikipedia: Whitesmiths along with Allman have been
> the most common bracing styles with equal mind shares according to the
> Jargon File
>
> "Whitesmiths along with Allman have been the most common bracing
> styles with equal mind shares according to the Jargon File"
> and the advantages of Whitesmith are:
>
> The advantages of this style are similar to those of the Allman style
> in that blocks are clearly set apart from control statements. Another
> advantage is the alignment of the braces with the block that
> emphasizes the fact that the entire block is conceptually (as well as
> programmatically) a single compound statement. Furthermore, indenting
> the braces emphasizes that they are subordinate to the control
> statement. Another advantage of this style is that the ending brace no
> longer lines up with the statement, but instead with the opening
> brace.
>
> On Thu, Sep 10, 2015 at 12:44 PM, David Gobbi <david.gobbi at gmail.com>
> wrote:
> > This has inspired me to re-attempt the removal of all //BTX and //ETX
> > markers (now obsolete) from the header files.
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Search the list archives at:
> http://markmail.org/search/?q=vtk-developers
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/vtk-developers
> >
> >
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150910/0f5a4862/attachment-0001.html>


More information about the vtk-developers mailing list