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

[REBOL] Re: Correct Behaviour? Was False = 2 ????

From: awing:hetnet:nl at: 2-Jul-2001 20:04

Hi to all. being a newbie to REBOL, I am interested in the subject! I've done a lot of work using lots of programming languages. Just as Carl I find languages fascinating. So far (having looked at REBOL for a few weeks now) I've got a positive "feeling" about it. Having said that, I agree with Mark that it is better to "purify" the language now in order to keep up with future requirements.
> 1. Should Series! Index begin at Zero? >
Yes, I like that. To be backward compatible, however, a REBOL command line switch could be added to enable both ways.
> 2. Should 0, None & False be equivalent > for 'PICKing values from a series! and > return the FIRST or index 0 value whereas > True and 1 would return the SECOND or > Index 1 value? >
To be honest, I look upon this issue as an obscure one. I believe that True and False etc. should not be looked at as if they are ordinal and can be used as indices into a series! I would vote for an error to be generated when one tries to misuse boolean values this way.
> Now I know all of this is hypothetical as only > Carl & the RT gang can actually decide and implement > any Language changes to REBOL ... >
I think it is a pity that the language remains proprietary! In order to gain broad support for and use of REBOL, there should evolve ways to influence the further development of REBOL by the open community. Not doing so will prevent REBOL from growing real big. Kind regards, Arie van Wingerden