[Jython] Pass variable or class reference to PythonInterpreter?

Robert Oschler Oschler at earthlink.net
Thu Nov 7 13:15:05 EST 2002


"Alex Martelli" <aleax at aleax.it> wrote in message
news:rEvy9.2035$Bs5.49469 at news1.tin.it...
> Robert Oschler wrote:

> I consider this a serious design defect of languages such as Java
> and C++.  Python, of course, finesses the issue by eschewing all
> use of such access/visibility restrictions, but I know of no
> general purpose programming language whose access/visibility
> control is really _good_ (e.g., AT LEAST the equal of what you can
> achieve in SQL with views, GRANT, and WITH GRANT OPTION) -- thus,
> inevitably, such control ends up getting in the way.
>

Alex,

Yes, one of my favorite recurring programmer "life-cycles" for new C++
programmers goes like this:

Wow, OO programming!
Great, many access restriction levels (private, protected, public,
vendor-specific)
<Time passes, app goes live, many object hierarchies built with complex
scope modifiers in place, several layers deep>
Deadline is here, panic, break out buzz saw and cut across everything
protection structure built
Programmer grumbles about OOP and scope modifiers

I still really like C++, and I'm learning to like a lot about Java, but I
_love_ Jython.

thx






More information about the Python-list mailing list