Lambda the Ultimate

inactiveTopic Unifying types and classes in Python 2.2
started 8/13/2001; 1:11:30 PM - last post 8/14/2001; 7:46:13 AM
Ehud Lamm - Unifying types and classes in Python 2.2  blueArrow
8/13/2001; 1:11:30 PM (reads: 2065, responses: 1)
Unifying types and classes in Python 2.2
I am not really a Python user, but to my eyes this isn't very elegant. Maybe a Python enthusiast could give his point of view

It seems to me that the subtle differences between built-in types and user defined classes, are even worse from a uniformity perspective than the out right distinction made by most languages.

Posted to Python by Ehud Lamm on 8/13/01; 1:14:22 PM

John Lawter - Re: Unifying types and classes in Python 2.2  blueArrow
8/14/2001; 7:46:13 AM (reads: 623, responses: 0)
I'm of two minds about this. On the one hand, it's pretty disturbing to have a language change out from under me. Python is undergoing some serious changes, and the language is more than a bit different than the one I started using 3 years ago.

On the other hand, if the end product of this particular change is a language more like Smalltalk, where everything is treated as an object, I am for it.

I've read the type/class unification PEP, as well as GvR's article and some of the newsgroup postings. Yes, the disparate method resolution systems seem like another way to shoot oneself in the foot. But, I think I'll reserve final judgement on this matter until I've used Python 2.2 for a while, after I've seen how these changes really affect my work.