[REBOL] Re: ZERO-INDEX-PATCH_alpha-001
From: robbo1mark:aol at: 6-Jul-2001 13:30
I agree with you Ryan that we should have optional
indexing starting from and including base zero,
PASCAL has this for array indexing, however as
Jeff rightly points out, I've got too little time,
resources, understanding etc. to really appreciate
software architecture 8-)
; Yes he can be serupticiously rude but he's also
; funny so I like him!
In a message dated Fri, 6 Jul 2001 1:22:32 PM Eastern Daylight Time, Ryan Cole <[ryanc--iesco-dms--com]>
<< I might actually use them on occasion if they were packaged differently. I would
prefer one of the below formats:
* Packaged in an object like zip/pick, zip/index?, zip/skip, etc. --My favorite.
* Prefixed names like zip-pick, zip-index?, zip-skip, etc.
* Patch the system words, but just add a /zero indexing option. This way nothing breaks
and you can still load in unsuspecting programs without problems.
PS: To say strictly that we should only use 0 based indexing would leave many problems
suited for 1 based indexing having to do adjustments. And so it is vice versa. Being
use the appropriate system for each instance the makes clear sense to me.