[REBOL] Re: REBOL Enhancement Proposals (REPs)
From: ammoncooke:yaho:o at: 26-Sep-2001 9:19
----- Original Message -----
From: "Joel Neely" <[joel--neely--fedex--com]>
Sent: Tuesday, September 25, 2001 5:04 PM
Subject: [REBOL] Re: REBOL Enhancement Proposals (REPs)
> > Just for clarification...
> > Could you explain why you would prefer the above SET expression
> > to the following?
> > a/b/c: 1 d/e: 2
> I'm not necessarily disagreeing, but interested in your rationale.
> I tend to use objects in a more "encapsulated" fashion, in which
> the methods of the function are responsible for modifying the
> attributes of the object, in constrast to a "c-struct" fashion,
> in which other code is free to go in and manipulate the content
> of the object.
> Just a question of style, but I'm interested in your views.
The quick reason that I can see is this:
z: [1 2]
y: [a/b/c d/e]
set y z
I can see that type of a situation happening.