[ZDP] Re: [Zope] ZClass

Dody Gunawinata dody_g@eles.com
Tue, 02 Nov 1999 17:37:38 +0100

Thanks for the info.

I took notice. For Python being Typeless has been discussed in Python
intro (more update is needed though). 

Btw, there are requests for python to enforce 'type' in function/method
argument/parameter passing, but I think it's very unlikely. Many would
say..over my dead body :)



Tom Deprez wrote:
> At 11:08 02/11/1999 -0500, Michel Pelletier wrote:
> >Stephan Richter wrote:
> >>
> >> > Why does Zope asks for a value to enter for a new property when you're
> >> > making a class? I understand that you've to enter a value when you're
> >> > making a Class instance? But while defining a class??? Is this meant as a
> >> > default value??
> >> Okay, the problem is that Python does not know about data types. You cannot
> >> declare an"empty" (variable without value) variable in Python, since a
> >> statement like 'int test' does not exist.I have heard from DC (someone
> correct
> >> me please if I am wrong) that they tried to convind Guido to put variable
> >> declarations into the language without success.
> >
> >I can guarantee that's a rumor, the dynamic typing of Python is a good
> >thing.
> >
> >-Michel
> Ok, this has to be included in ZBook.
> Dody, can you include a part of this in the Phyton section
> Dody or Rik, can this also be included in the DTML section?
> Thanks all, Tom.
> _______________________________________________
> ZDP maillist  -  ZDP@zope.org
> http://lists.zope.org/mailman/listinfo/zdp