python without OO
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Wed Jan 26 17:24:56 EST 2005
In <ct786k$u42$05$2 at news.t-online.com>, Frank Bechmann (w) wrote:
> know what's funny: in the Lua mailing list there is currently a
> discussion about adding OO to Lua.
>From my quick glance at the language last year I recall that one can
access elements of tables (in Python: dict()) with this syntax:
``tbl.attr`` and it's also possible to put functions into those tables. So
it's already a prototype based OO language. Remember: you need objects
for an OO language -- classes are optional!
Ciao,
Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list