Re: Namespaces, file names,...

2014-09-13 Thread Frank H. Ellenberger
I fully agree with Derek. Frank ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: Namespaces, file names,...

2014-09-10 Thread Christian Stimming
Zitat von Derek Atkins warl...@mit.edu: 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

Re: Namespaces, file names,...

2014-09-10 Thread John Ralls
On Sep 10, 2014, at 4:51 AM, Christian Stimming christ...@cstimming.de wrote: Zitat von Derek Atkins warl...@mit.edu: 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

Re: Namespaces, file names,...

2014-09-10 Thread Derek Atkins
Christian Stimming christ...@cstimming.de writes: Zitat von Derek Atkins warl...@mit.edu: 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

Re: Namespaces, file names,...

2014-09-09 Thread Derek Atkins
John Ralls jra...@ceridwen.us 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

Re: Namespaces, file names,...

2014-09-08 Thread Derek Atkins
John Ralls jra...@ceridwen.us 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

Re: Namespaces, file names,...

2014-09-08 Thread Christian Stimming
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 naming

Re: Namespaces, file names,...

2014-09-08 Thread John Ralls
On Sep 8, 2014, at 11:22 AM, Christian Stimming christ...@cstimming.de 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

Re: Namespaces, file names,...

2014-09-07 Thread Christian Stimming
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 elaborating

Re: Namespaces, file names,...

2014-09-07 Thread John Ralls
On Sep 7, 2014, at 1:09 PM, Christian Stimming christ...@cstimming.de 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

Re: Namespaces, file names,...

2014-09-06 Thread Geert Janssens
On Friday 05 September 2014 12:13:49 John Ralls wrote: On Sep 5, 2014, at 10:02 AM, Mike Alexander m...@umich.edu wrote: On Sep 5, 2014, at 11:26 AM, Buddha Buck blaisepas...@gmail.com wrote: When every method name has to be Hungarian-notated to work with pseudonamespaces, short namespace

Re: Namespaces, file names,...

2014-09-06 Thread John Ralls
On Sep 6, 2014, at 2:06 AM, Geert Janssens janssens-ge...@telenet.be wrote: On Friday 05 September 2014 12:13:49 John Ralls wrote: On Sep 5, 2014, at 10:02 AM, Mike Alexander m...@umich.edu wrote: On Sep 5, 2014, at 11:26 AM, Buddha Buck blaisepas...@gmail.com wrote: When every method

Re: Namespaces, file names,...

2014-09-06 Thread Geert Janssens
On Saturday 06 September 2014 08:09:45 John Ralls wrote: On Sep 6, 2014, at 2:06 AM, Geert Janssens janssens-ge...@telenet.be wrote: On Friday 05 September 2014 12:13:49 John Ralls wrote: On Sep 5, 2014, at 10:02 AM, Mike Alexander m...@umich.edu wrote: On Sep 5, 2014, at 11:26 AM,

Re: Namespaces, file names,...

2014-09-05 Thread Mike Alexander
On Sep 5, 2014, at 11:26 AM, Buddha Buck blaisepas...@gmail.com 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

Re: Namespaces, file names,...

2014-09-05 Thread John Ralls
On Sep 5, 2014, at 10:02 AM, Mike Alexander m...@umich.edu wrote: On Sep 5, 2014, at 11:26 AM, Buddha Buck blaisepas...@gmail.com wrote: When every method name has to be Hungarian-notated to work with pseudonamespaces, short namespace abbreviations make sense. But with true namespaces,