Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: What language am I looking for?

From: kenneth:nwinet at: 15-May-2001 7:13

I really do have to get to work guys, but you have such great comments...
> > > In my opinion, it is ok to overwrite words... > > > > Yes it is ok, but does it put more or less burden on the > > programmer?... > > > > Here's an example of what I mean... If we change the default to no > > reassignment we could use another symbol for explicit reassignment. > > > > word: [to assign] > > word:: [to reassign] > > > > But I've always found double colons to be ugly. Any thoughts? > > > > We could go the other way and tackle the problem ourselves; leave > the colon suffix as is and try something like the following (where > the "p" presumably stands for "protected" or "paranoid" or even > "possibly"):
The danger as I see it, is modifying something that has a certain elegance into something that will not be used. For instance in the article (http://www.sweb.cz/LMecir/rep.html) it uses the degree symbol where I use the double colon above. I would have two objections to that... 1) where is the degree symbol on my keyboard. 2) same as the first, I chose double colon because it seemed the least intrusive (although in general I dislike double anything notation, it does make it easier to type and provides a direct connection to the single colon notation) Another example. I like the fact that C# has replace all the various notation with the dot.notation In Rebol the / is somewhat the equivalent and after my initial hesitation/orientation it seems perfectly natural to me. I think it matters. Thanks again, I'll respond to your earlier post later today. Ken.