"D-Man" <dsh8290 at rit.edu> wrote in message news:mailman.987012138.32047.python-list at python.org... > On Wed, Apr 11, 2001 at 11:56:07AM +0200, Alex Martelli wrote: > > ... > > | gain a bit more flexibility, but not much usefulness) -- other > | compile-time-typesafe languages such as Java (if it had some > | way to have constrained generics) would let you use 'Object' > | as the value-type, so you could in fact add anything. > > Almost : > > not 'int' , 'char' , 'float' , 'double' , 'byte' , 'short' , 'long' , > and any of the above (including Object) in array form. Right -- the primitive-vs-Object split. > This is one reason I really like Python's object model much better > than Java's. Python has its own type/class split, of course, but I agree it is less damaging than Java's. Alex
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4