On Tue, 3 May 2011 18:08:27 -0400, Jabba Laci
wrote:
: I'm just reading Robert M. Martin's book entitled "Clean Code". In Ch.
: 5 he says that a function that is called should be below a function
: that does the calling. This creates a nice flow down from top to
: bottom.
My advice would be
On May 3, 4:08 pm, Jabba Laci wrote:
> Hi,
>
> I'm just reading Robert M. Martin's book entitled "Clean Code". In Ch.
> 5 he says that a function that is called should be below a function
> that does the calling. This creates a nice flow down from top to
> bottom.
> However, when I write a Python
On 2011-05-03, Jabba Laci wrote:
> I'm just reading Robert M. Martin's book entitled "Clean Code". In Ch.
> 5 he says that a function that is called should be below a function
> that does the calling. This creates a nice flow down from top to
> bottom.
I generally expect the opposite: callees ab
Ben Finney writes:
> Jabba Laci writes:
>
>> Is there a convention for this? Should main() be at the top and called
>> function below?
>
> No, it's Python convention for both of those to be at the end of the
> module.
>
> I follow the convention described by Guido van Rossum in
> http://www.arti
In article ,
Jabba Laci wrote:
> I'm just reading Robert M. Martin's book entitled "Clean Code". In Ch.
> 5 he says that a function that is called should be below a function
> that does the calling. This creates a nice flow down from top to
> bottom.
There may have been some logic to this when
On 5/3/11 5:46 PM, MRAB wrote:
On 03/05/2011 23:31, Chris Angelico wrote:
On Wed, May 4, 2011 at 8:08 AM, Jabba Laci wrote:
Hi,
I'm just reading Robert M. Martin's book entitled "Clean Code". In Ch.
5 he says that a function that is called should be below a function
that does the calling. This
Jabba Laci writes:
> Is there a convention for this? Should main() be at the top and called
> function below?
No, it's Python convention for both of those to be at the end of the
module.
I follow the convention described by Guido van Rossum in
http://www.artima.com/weblogs/viewpost.jsp?thread=4
On 03/05/2011 23:31, Chris Angelico wrote:
On Wed, May 4, 2011 at 8:08 AM, Jabba Laci wrote:
Hi,
I'm just reading Robert M. Martin's book entitled "Clean Code". In Ch.
5 he says that a function that is called should be below a function
that does the calling. This creates a nice flow down from
On Wed, May 4, 2011 at 8:08 AM, Jabba Laci wrote:
> Hi,
>
> I'm just reading Robert M. Martin's book entitled "Clean Code". In Ch.
> 5 he says that a function that is called should be below a function
> that does the calling. This creates a nice flow down from top to
> bottom.
I prefer to define
Hi,
I'm just reading Robert M. Martin's book entitled "Clean Code". In Ch.
5 he says that a function that is called should be below a function
that does the calling. This creates a nice flow down from top to
bottom.
However, when I write a Python script I do just the opposite. I start
with the lin
10 matches
Mail list logo