Project directory structure
Dirk Hohndel
dirk at hohndel.org
Tue Apr 2 14:58:02 PDT 2013
Thiago Macieira <thiago at macieira.org> writes:
> On terça-feira, 2 de abril de 2013 14.08.40, Dirk Hohndel wrote:
>> > In any case, we can make an easy separation: C++ code uses camelCase, C
>> > code uses name_with_underline.
>>
>> Yuck. I do not care for camelCase. But then again, all the scientific
>> studies which one is better have been rigged by one side or the other...
>
> Well, the Qt-using code would be interfacing with the camelCase Qt API anyway,
> so it's unavoidable.
Yes, we get GtkWidget * as well - but we then use underscore_names for
our variables and functions (so far).
> But if you prefer, the project could standardise on underscores for all
> function names, even in C++.
I think that would be my STRONG preference.
>> >> Maybe we should add a Readme-Qt file that collects all the great advice
>> >
>> >> that is being rendered here:
>> > Other projects usually call it HACKING and they include information on how
>> > to develop, where things are, what the conventions are, etc. I'd say that
>> > a choice of whether or not to use the automatic connection belongs in
>> > that file.
>>
>> Definitely. Care to get one started? :-)
>
> Sure, just not today. In any case, it needs information from the C side too:
> how does one hack it, how do you do things there?
We have a good starting point for this at
http://subsurface.hohndel.org/contributing/
/D
More information about the subsurface
mailing list