Re: [Sugar-devel] Correct use of leading underscores in Python?

2009-07-21 Thread Tomeu Vizoso
On Tue, Jul 21, 2009 at 00:52, Martin Denglermar...@martindengler.com wrote: On Mon, Jul 20, 2009 at 10:59:05AM -0500, Jim Simmons wrote: I don't want to start a religious war here, but I could use some guidance.  In writing my Activities I have often copied and pasted bits of code from other

Re: [Sugar-devel] Correct use of leading underscores in Python?

2009-07-21 Thread Jim Simmons
Martin, The comparison to Java is a good one. I program in Java for a living and find that I tend to think of my Activity logic in Java terms then translate the concept to Python. I do the same thing with pygtk and Java Swing. Last night I removed most of the leading underscores from my code.

[Sugar-devel] Correct use of leading underscores in Python?

2009-07-20 Thread Jim Simmons
I don't want to start a religious war here, but I could use some guidance. In writing my Activities I have often copied and pasted bits of code from other Activities. For instance, the toolbars from Read and Speak. As a result of this I have code in which leading underscores are used in both

Re: [Sugar-devel] Correct use of leading underscores in Python?

2009-07-20 Thread Tomeu Vizoso
On Mon, Jul 20, 2009 at 17:59, Jim Simmonsnices...@gmail.com wrote: I don't want to start a religious war here, but I could use some guidance.  In writing my Activities I have often copied and pasted bits of code from other Activities.  For instance, the toolbars from Read and Speak.  As a

Re: [Sugar-devel] Correct use of leading underscores in Python?

2009-07-20 Thread Jim Simmons
Tomeu, Your answer makes sense. I'm creating another release of Read Etexts and I'll try to rename everything consistent with those principles as part of that, and eventually will do the same for my other Activities. Thanks, James Simmons On Mon, Jul 20, 2009 at 11:23 AM, Tomeu

Re: [Sugar-devel] Correct use of leading underscores in Python?

2009-07-20 Thread Martin Dengler
On Mon, Jul 20, 2009 at 10:59:05AM -0500, Jim Simmons wrote: I don't want to start a religious war here, but I could use some guidance. In writing my Activities I have often copied and pasted bits of code from other Activities. For instance, the toolbars from Read and Speak. As a result of