Some thoughts on the 'reveal' operator

Douglas Crockford crock@communities.com
Mon, 27 Sep 1999 17:46:28 -0700


> Sorry I've been so unresponsive & uninformative lately.  I just wanted to
> let y'all know that your messages *have* talked me out of this for
> now.  I'm glad we all agree that the problem solved by "^" needs to be
> solved, but it sounds like we're also in agreement that we should find a
> better solution.

Absolutely. I was sad to see your earlier proposal of an explicit ^ at each
level of scoping. That seemed hostile to your goal of a popular language. I
am happy to hear that you are still searching.

As far as spacing vs { } , this is something you can debate with passion and
boundless time, and is of no importance. None. So let me add my voice to the
waste o'time with three conflicting suggestions:

#1. Pick one and do it right. The one you already picked is a perfectly
reasonable choice.

#2. Do both. Let the programmer pick which representation to use on a
per-file basis. This is similar to Basic making line numbers optional.

#3. Plain text is the wrong representation for a program. Hypertext should
be employed instead.

Please disregard the preceding.