Peter Bex scripsit: > Guide himself talks about this here: > http://python-history.blogspot.com/2009/03/how-everything-became-executable.html
Fascinating. I'm working my way through the entire blog (fortunately only 26 posts) even as we speak. > PHP has this "problem" as well. PHP even allows included files and > EVALed code to access local lexical variables in the calling function. > I've often seen newbies in #scheme or #chicken who were confused > by this, and tried to graft similar functionality on top of Scheme > (which is utterly doomed to fail, of course) Whew. I'm certainly glad I always stayed ten miles away from any PHP code. > And don't get me started on Javascript with its idiotic "hoisting" > concept... There are advantages to the scope of a declaration extending before the declaration; it means you don't have to have special syntax to forward-declare a name before you can use it in mutual recursion. But basically I agree, especially for Scheme syntax declarations. See "The Tale of Professor Simpleton and Dr. Hardcase" at http://lists.r6rs.org/pipermail/r6rs-discuss/2009-September/005487.html . -- John Cowan <[email protected]> Yakka foob mog. Grug pubbawup zink wattoom gazork. Chumble spuzz. --Calvin, giving Newton's First Law "in his own words" _______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
