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

Bill Lorensen bill.lorensen at gmail.com
Thu Sep 10 13:21:34 EDT 2015


David,

You are correct. Whitesmiths was popular many years ago (when we first
did vtk). It is time for a change. But I don't think it will have much
impact on external contributions. VTK has many other quirks()aka
styles)  as do most large packages.

Time to move forward...



On Thu, Sep 10, 2015 at 1:13 PM, David Gobbi <david.gobbi at gmail.com> wrote:
> 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
>
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtk-developers mailing list