[Tutor] The trap of the year

Corey Richardson kb1pkl at aim.com
Tue Jan 25 22:57:59 CET 2011


On 01/25/2011 04:28 PM, Karim wrote:
> 
> Hello Bob,
> 
> I know this fact for function but in this case this is not a function
> but a constructor method of a class.

To be pedantic, a method _is_ a function, just under the umbrella of a
class, with it's parent object being passed to it.
~Corey

> The impact is not the same because all instance share the same argument
> parameter.This a kind
> of singleton argument :-) . I believed that the constructor will create
> each time a new argument init.
> 
> 
> Regards
> Karim
> 




More information about the Tutor mailing list