Python design philosophy
Eric Lee Green
eric at estinc.com
Thu Jun 29 11:20:32 EDT 2000
Gordon McMillan wrote:
>
> Eric Lee Green wrote:
>
> >Steve Juranich wrote:
> >> I am *brand* new to python (as of Sunday), and I just got to the
> >> section in the tutorial about classes. I was wondering why there
> >> really isn't such an idea as a "private" member of classes?
> >
> >Mostly because Python doesn't "really" have classes. What Python
> >"really" has are hash tables whose entries are objects (either methods
> >or other data objects), and some syntactic sugar [...]
>
> By this logic, all C++ has is pointers and some syntactic sugar.
Exactly :-).
C++ is syntactic sugar for "C". As should be obvious from the fact that most
early C++ compilers generated "C" as their output :-).
--
Eric Lee Green eric at estinc.com
Software Engineer Visit our Web page:
Enhanced Software Technologies, Inc. http://www.estinc.com/
(602) 470-1115 voice (602) 470-1116 fax
More information about the Python-list
mailing list