I fully agree with Derek.
Frank
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Christian Stimming writes:
> Zitat von Derek Atkins :
>>> I agree that filenames should reflect the class that they implement,
>>> when they do so, and I’ll add that in general a file should implement
>>> only one class. Capitalization is OK as long as one keeps in mind that
>>> the Mac file syst
On Sep 10, 2014, at 4:51 AM, Christian Stimming wrote:
> Zitat von Derek Atkins :
>
>> I agree that we don't need to have a directory for the namespace, and I
>> also don't think we need to have namespaces for each "module/library".
>> E.g., I don't think we need GnuCash::Engine::Account. I su
Zitat von Derek Atkins :
I agree that filenames should reflect the class that they implement,
when they do so, and I’ll add that in general a file should implement
only one class. Capitalization is OK as long as one keeps in mind that
the Mac file system is normally case-preserving but case-insen
John Ralls writes:
> I agree that filenames should reflect the class that they implement,
> when they do so, and I’ll add that in general a file should implement
> only one class. Capitalization is OK as long as one keeps in mind that
> the Mac file system is normally case-preserving but case-ins
On Sep 8, 2014, at 11:22 AM, Christian Stimming wrote:
> Am Sonntag, 7. September 2014, 15:10:13 schrieb John Ralls:
>>> I strongly prefer namespaces in all-lowercase. I have somewhat a
>>> preference
>>> for "gnc" as namespace name, but we are an application anyway and not a
>>> library, so we'
Am Sonntag, 7. September 2014, 15:10:13 schrieb John Ralls:
> > I strongly prefer namespaces in all-lowercase. I have somewhat a
> > preference
> > for "gnc" as namespace name, but we are an application anyway and not a
> > library, so we're basically free to choose whatever we want as interface
>
John Ralls writes:
[snip]
> Since we want to make the API useful outside of GnuCash we should declare a
> namespace to wrap everything in, maybe Gnc. That way an application that
> wants to extend our Account class could still call their child class Account,
> like so:
> class Account : pub
On Sep 7, 2014, at 1:09 PM, Christian Stimming wrote:
> Just for there record, here's my take on potential coding conventions:
>
> Am Samstag, 6. September 2014, 11:06:13 schrieb Geert Janssens:
>>> Yes, using GnuCash is less ambiguous that Gnc. Sold. For the record I
>>> don’t care about snake
Just for there record, here's my take on potential coding conventions:
Am Samstag, 6. September 2014, 11:06:13 schrieb Geert Janssens:
> > Yes, using GnuCash is less ambiguous that Gnc. Sold. For the record I
> > don’t care about snake vs. camel as long as we pick one.
>
> John, thanks for elabor
On Saturday 06 September 2014 08:09:45 John Ralls wrote:
> On Sep 6, 2014, at 2:06 AM, Geert Janssens wrote:
> > On Friday 05 September 2014 12:13:49 John Ralls wrote:
> > > On Sep 5, 2014, at 10:02 AM, Mike Alexander wrote:
> > > > On Sep 5, 2014, at 11:26 AM, Buddha Buck wrote:
> > > >> When e
On Sep 6, 2014, at 2:06 AM, Geert Janssens wrote:
> On Friday 05 September 2014 12:13:49 John Ralls wrote:
> > On Sep 5, 2014, at 10:02 AM, Mike Alexander wrote:
> > > On Sep 5, 2014, at 11:26 AM, Buddha Buck wrote:
> > >> When every method name has to be Hungarian-notated to work with
> > >>
On Friday 05 September 2014 12:13:49 John Ralls wrote:
> On Sep 5, 2014, at 10:02 AM, Mike Alexander wrote:
> > On Sep 5, 2014, at 11:26 AM, Buddha Buck wrote:
> >> When every method name has to be Hungarian-notated to work with
> >> pseudonamespaces, short namespace abbreviations make sense.
> >
On Sep 5, 2014, at 10:02 AM, Mike Alexander wrote:
> On Sep 5, 2014, at 11:26 AM, Buddha Buck wrote:
>>
>> When every method name has to be Hungarian-notated to work with
>> pseudonamespaces, short namespace abbreviations make sense.
>>
>> But with true namespaces, using directives, and names
On Sep 5, 2014, at 11:26 AM, Buddha Buck wrote:
>
> When every method name has to be Hungarian-notated to work with
> pseudonamespaces, short namespace abbreviations make sense.
>
> But with true namespaces, using directives, and namespace aliasing
> available in C++, I see benefits in readabili
On Fri, Sep 5, 2014 at 11:08 AM, John Ralls wrote:
> So the question becomes:
> * Is Gnc OK for the namespace name?
> * Do we want to use camel-case or underscore-separated function and
> variable names?
>
> N.B. The C++ code above mirrors the old C code to emphasize the different
> naming and ca
On Sep 5, 2014, at 2:46 AM, Geert Janssens wrote:
> This topic was lightly touched in the doxygen/design thread currently active
> on this list. I
> thought it to be important enough to start a new thread on it.
>
> Historically, gnucash as acquired a lot of namespaces (think function and
>
17 matches
Mail list logo