[Insight-developers] removing the dash in the module names

Brad King brad.king at kitware.com
Thu Jun 23 08:53:02 EDT 2011


On 06/23/2011 04:07 AM, Gaëtan Lehmann wrote:
> most of the languages won't support a dash in the module name.
> 
> Would it be ok to remove those dash in the module names?
> 
>    ITK-Common
>    ITK-IO-Base
> 
> would become
> 
>    ITKCommon
>    ITKIOBase

Perhaps underscores?

  ITK_Common
  ITK_IO_Base

IMO having a separator breaks with our C++ coding guideline naming
style enough to clearly distinguish the names as modules.  It also
makes the name components clear, especially when the module names
are all uppercase.  Consider

  ITK-IO-PNG   =>  ITKIOPNG  v. ITK_IO_PNG
  ITK-IO-TIFF  =>  ITKIOTIFF v. ITK_IO_TIFF

-Brad


More information about the Insight-developers mailing list