[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] case vs. eq? - just curious ....
From: |
John Cowan |
Subject: |
Re: [Chicken-users] case vs. eq? - just curious .... |
Date: |
Sat, 3 Mar 2012 14:47:07 -0500 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
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 <address@hidden>
Yakka foob mog. Grug pubbawup zink wattoom gazork. Chumble spuzz.
--Calvin, giving Newton's First Law "in his own words"
- [Chicken-users] case vs. eq? - just curious ...., Matt Welland, 2012/03/02
- Re: [Chicken-users] case vs. eq? - just curious ...., Kon Lovett, 2012/03/02
- Re: [Chicken-users] case vs. eq? - just curious ...., Jim Ursetto, 2012/03/02
- Re: [Chicken-users] case vs. eq? - just curious ...., Matt Welland, 2012/03/02
- Re: [Chicken-users] case vs. eq? - just curious ...., Jim Ursetto, 2012/03/02
- Re: [Chicken-users] case vs. eq? - just curious ...., Peter Bex, 2012/03/03
- Re: [Chicken-users] case vs. eq? - just curious ...., Matt Welland, 2012/03/03
- Re: [Chicken-users] case vs. eq? - just curious ...., Peter Bex, 2012/03/03
- Re: [Chicken-users] case vs. eq? - just curious ...., John Cowan, 2012/03/03
- Re: [Chicken-users] case vs. eq? - just curious ...., Peter Bex, 2012/03/03
- Re: [Chicken-users] case vs. eq? - just curious ....,
John Cowan <=
- Re: [Chicken-users] case vs. eq? - just curious ...., Stephen Eilert, 2012/03/05