Project directory structure

Dirk Hohndel dirk at hohndel.org
Thu Apr 4 07:39:45 PDT 2013


Tomaz Canabrava <tcanabrava at kde.org> writes:

> one could argue that the STL usses_underscore_names, and that's the 'c++
> default',
> I read in a KDAB blog ( one of Qt's maintainer ) about the use of Container
> classes of Qt vs STL and the bottom line was 'use stl', I guess Thiago
> could state a point here. I'm more used to Qt containers ( and we will
> surely use those for the Model classes of the lists / table views. ) that
> are CamelCase too.
>
> for myself... I'm too old for arguing about naming_differences about
> beingAbleOrNot to use one or another. I'd stick wich the project says to do
> so.

I'm amused when others play the "I'm too old" card...

I can live with either, I just
a) prefer underscore (just a matter of habit - most of the projects I'm
   involved in in the last decade used underscore)
b) prefer consistency within a project

I guess we can use camelCase in the UI code and underscore_variables in
the core logic. That is reasonably consistent and will only cause
confusion if and where we need global variables and call one from the
other... 

/D


More information about the subsurface mailing list