[vtk-developers] Adding parameters to existing methods: do not use default argument values in C++ for revising VTK

Sebastien BARRE sebastien.barre at kitware.com
Wed Aug 6 10:16:08 EDT 2008


At 8/6/2008 10:06 AM, David Cole wrote:
>I know this is a bit on the long side. Please read when you have a 
>chance, especially if you are an active VTK contributor.
>
>I have had this same conversation with a few different people over 
>the last few months and want to share with the VTK dev community 
>just so that we are all on the same page. And to give you all an 
>opportunity to voice your opinions on the matter. Hmmm... maybe this 
>should be in our coding guidelines on the Wiki.

[...]

>Any comments, thoughts, objections, agreement....?

This isn't in our guidelines?

I don't think there is much debate here :) Default arguments in VTK 
should be a big no-no because of the wrapping framework. KWStyle to the rescue?




More information about the vtk-developers mailing list