[REBOL] Re: paths & lookups & change
From: robert:muench:robertmuench at: 22-Oct-2003 20:17
On Wed, 22 Oct 2003 20:07:21 +1000, Brett Handley
> Maybe this situation indicates that the "why" of Robert's need should be
> looked at? So Robert, Why did you want the special set-path form - to
> save your fingers or for some other reason?
Hi, there are several reasons:
- For storing data I'm always working with nested blocks of name/value
pairs. This has proven to be the best approach yet. My goal is to keep
this "database" as the master of data, the source. To avoid copying around
and to minimize searches in big databases, I always try to work "in place"
by using a reference.
- Such paths are easy to create programmatically. This code can be used to
access/alter record structures in an abstract way, because I can specify
parts of a path! (including the last part of a path!) by variables.
- I find it logical in the Rebol context.
I hope these are good reasons for it :-) Robert