Paul E. Black
paul.black at nist.gov
Wed Aug 25 18:24:29 CEST 1999
Yeoh Yiu <squid at panix.com> writes:
> I've noticed in various languages, there is a construction
> of expressions with a dot in the middle.
> int foo.bar = 42; // doesn't happen this way
> What is the name of this technique and the name of methods
> (or variables ?) so constructed ?
The dot construction is merely syntax, and, as you have observed, is
used in different languages. The syntax indicates different semantics
in different languages and therefore has different names.
Paul E. Black (p.black at acm.org)
More information about the Python-list