ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
exceptions
by hungjunglu other posts by this author
Jun 9 2004 12:00PM messages near this date
exceptions | exceptions
Alexander Schmolck <a.schmolck@[...].net>  wrote:
>  How do younger languages like IO make this point more forcefully than lisp,
>  smalltalk etc -- languages which have been around for decades?

Double checked with Lisp just now. And Lisp did not allow me to
redefine "if", "setq", "t", etc. In a sense, Lisp is not keywordless,
whereas Io is truly keywordless. As I said, in Io even "if" and
"while" are implemented as regular functions. In Lisp, you cannot
intercept "if", "setq", etc. In Io, everything is interceptible.
Therefore, Lisp seems not nearly as flexible as Io.

If there are tricks in Lisp to intercept "if", "setq", etc. I'd like
to know. Same if these limitations are specific to some particular
implementations of Lisp. I greatly suspect that these limitations of
Lisp are general, since Lisp does not naturally have prototype-based
scopes like onion-skins, and overriding things like "if" could more
easily create havoc.

regards,

Hung Jung
Thread:
A Schmolck
hungjunglu
Michele Simionato
hungjunglu
peter
A Schmolck
Jacek Generowicz
Michele Simionato
Michele Simionato
hungjunglu
hungjunglu
A Schmolck
A Schmolck
hungjunglu
A Schmolck
mwh
hungjunglu
lbates
jjl
peter

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved