TheSaint a écrit :
On 17:47, giovedì 12 giugno 2008 Bruno Desthuilliers wrote:
For multiple functions, use classes.
Well... Closures are poor men's objects, or so they say (or is that the
other way round ?-).
Well, I'd like to know what could be the reason to design a single-call class
inste
On 17:47, giovedì 12 giugno 2008 Bruno Desthuilliers wrote:
>>> For multiple functions, use classes.
>
> Well... Closures are poor men's objects, or so they say (or is that the
> other way round ?-).
Well, I'd like to know what could be the reason to design a single-call class
instead of a simil
TheSaint a écrit :
On 04:51, giovedì 12 giugno 2008 Terry Reedy wrote:
First of all a big thank you, all.
def makeappender():
data = ['','']
def appender(val):
return appender
I'll give it a try. I just doubting if the data will be shared outside the
function.
Each time makeappe
On 04:51, giovedì 12 giugno 2008 Terry Reedy wrote:
First of all a big thank you, all.
> def makeappender():
> data = ['','']
> def appender(val):
>
> return appender
I'll give it a try. I just doubting if the data will be shared outside the
function.
Actually, my practice goes to send all vari
"TheSaint" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| Hi,
| I'm very new with classes. I still reading something around ;)
|
| I got started to try a concatenation of 2 type of string, which have a
| particular property to start with A or D.
|
| My class here:
|""" Small cl
On Wed, 11 Jun 2008 22:16:56 +0800, TheSaint <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm very new with classes. I still reading something around ;)
>
> I got started to try a concatenation of 2 type of string, which have a
> particular property to start with A or D.
>
> My class here:
> """ Small cl
Hi,
I'm very new with classes. I still reading something around ;)
I got started to try a concatenation of 2 type of string, which have a
particular property to start with A or D.
My class here:
""" Small class to join some strings according to the leading first
letter"""
def __init