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

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

From: robert:lancaster:opennw at: 6-Jul-2001 10:17

Forgive me if I'm on the wrong thread for this observation.. but some people have used an example Number of children in a house hold. 0: 3 1: 5 2: 6 3: 1 4: 4 As an example of zero based indexing. I just think this is a little wrong. What I think you have here, is a number of categories. The first is zero children, the second is 1 Child..... It may be easy to program it into a zero based index. But the storage method does not reflect on the information the data represents. I think this idea is missing from current idea of converstiom. A Series! is basically an abstract data type. If you want to use zero based indexing.. Write your on abstract data type. p.s I also like being able not to write subract length? list 1 every time I write a for loop. He he ha ha he hoo ooo he.... ( Gives up fanactical laughing as he realises it his last day at work and won't be getting paid next month....)