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

Marcus D. Hanwell marcus.hanwell at kitware.com
Thu Sep 10 13:14:40 EDT 2015


I was out on travel, and missed the party. I am with Ken, +1 for
either style, I personally prefer

if () {
  // ....
}

but will happily live with

if ()
{
  // ...
}

as what we have now is terrible. I think consistency is important
though, and we should avoid mixing styles, so -10 on that too ;-) I
would love to see the back of the VTK style, I think it makes it
harder to get new contributors on board. Also glad to see the back of
Gerrit, I think there are far better things today - such as Gitlab and
GitHub.

Once we are done with this...C++11, Doxygen comments, and typed enums?!?!

On Thu, Sep 10, 2015 at 12:39 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> I think I can set up my emacs profile to use either style based on the
> file name containing itk or vtk,
>
> +1
>
>
> On Thu, Sep 10, 2015 at 11:00 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> I am a vtk and itk developer. My emacs configuration automatically
>> indents according to the current itk and vtk indentation styles,I am a
>> +1 for the change to vtk's style. But, I hope someone can provided a
>> script or automatic git commit hook to provide the proper indentation.
>>
>> +1
>>
>> Bill
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
> _______________________________________________
> 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
>


More information about the vtk-developers mailing list