Jul-03-2020, 04:12 AM
apparently, the global name-space is not the space where the method names exist. there appear to be as many as 4 name-spaces involved. there are 2 created just by defining the class: the global space and the class space. then when an object instance is created from this class, there are 2 more name spaces. each object instance has 2 name-spaces, just for it. one of these is a replica of the class name-space and a reference to it is given to methods as the 1st argument, commonly named "self". the other is the usual local name-space which is created at invocation of a method. my curiosity is about the global name-space. the class name-space is also of some interest. the big thing i wonder about is can information be shared between instances in either of these? what if i define a dictionary there? will i be able to store values and object there an fetch them back out, later, in a different invocation and/or a different instance?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.