Re: What databases have taught me

From: <frebe73_at_gmail.com>
Date: 23 Jun 2006 12:56:19 -0700
Message-ID: <1151092579.921271.136910_at_i40g2000cwc.googlegroups.com>


> Quite possible - I use Python instead of Smalltalk, but it does have all
> this (ie, the somewhat functional parts) too, and that's a great part of
> what make it so usable IMHO. Python is OO almost all the way down (no
> 'primitive' types, functions and classes are objects too etc), but while
> you can't avoid *using* objects when programming in Python, nothing
> forces you to actually use the class statement.

I agree that Python is an excellt language, OO is availible but nothing forces you to use it.

> And objects are in no way tightly coupled to their classes - it's
> perfectly legal to add/delete/replace attributes (including methods) on
> a per-object basis,, to dynamically modify a class, to dynamically
> create classes at runtime, or even to dynamically change the class of an
> object (which can be tricky and happens to be of restricted practical
> use, but still can be handy).

Or use JavaScript, no classes, only objects. And objects are nothing else but a map. Perfect.

Fredrik Bertilsson
http://frebe.php0h.com Received on Fri Jun 23 2006 - 21:56:19 CEST

Original text of this message