Re: Python conventions

2008-04-10 Thread John Nagle
Daniel Fetchinson wrote: > I'm sorry to disappoint you but this project has already been completed: > > http://www.python.org/dev/peps/pep-0008/ Good point. It's probably time for CPython to enforce the rule that you can indent with either tabs or spaces, but cannot mix them. Which to u

Re: Python conventions

2008-04-10 Thread Gabriel Genellina
En Thu, 10 Apr 2008 16:52:11 -0300, <[EMAIL PROTECTED]> escribió: > Daniel Fetchinson wrote: >> I'm sorry to disappoint you but this project has already been completed: >> >> http://www.python.org/dev/peps/pep-0008/ > > Daniel, PEP 8 is anything but complete. How much of the following > simple ques

Re: Python conventions

2008-04-10 Thread Daniel Fetchinson
> > I'm sorry to disappoint you but this project has already been completed: > > > > http://www.python.org/dev/peps/pep-0008/ > > Daniel, PEP 8 is anything but complete. How much of the following > simple question can you answer from there: > > Given that you can name things with UpperAndLower, low

Re: Python conventions

2008-04-10 Thread Jerry Hill
On Thu, Apr 10, 2008 at 3:52 PM, <[EMAIL PROTECTED]> wrote: > Daniel, PEP 8 is anything but complete. How much of the following > simple question can you answer from there: > > Given that you can name things with UpperAndLower, lowerAndUpper, > lower_and_underscore, etc., what is the conventio

Re: Python conventions

2008-04-10 Thread MartinRinehart
Daniel Fetchinson wrote: > I'm sorry to disappoint you but this project has already been completed: > > http://www.python.org/dev/peps/pep-0008/ Daniel, PEP 8 is anything but complete. How much of the following simple question can you answer from there: Given that you can name things with Upper

Re: Python conventions

2008-04-10 Thread Daniel Fetchinson
> I assembled a good conventions set for Java. View it at > http://www.martinrinehart.com/articles/code-conventions.html (is that > better, Steve?) > > It followed a logical organization; it was built from four other > extensive (if not well-organized) convention sets and it scrupulously > avoided

Python conventions

2008-04-10 Thread MartinRinehart
I assembled a good conventions set for Java. View it at http://www.martinrinehart.com/articles/code-conventions.html (is that better, Steve?) It followed a logical organization; it was built from four other extensive (if not well-organized) convention sets and it scrupulously avoided injecting my