[REBOL] Re: Sameness - a pragmatic approach.
From: joel:neely:fedex at: 12-Feb-2003 5:30
Hi, Gisle,
Gisle Dankel wrote:
> >> alias 'print "stampa1"
> == stampa1
> >> stampa2: :print
> >> print: 5
> == 5
> >> stampa1
> == 5
> >> stampa2
> ** Script Error: stampa2 is missing its value argument
> ** Where: halt-view
> ** Near: stampa2
>
Yes, that is a succinct demonstration of the difference between ALIAS
and SET, but my question was "Why do we need that capability?" Maybe
I can ask it differently, in two stages:
1) When is the last time anyone on this list used ALIAS for anything?
(other than demonstrating what ALIAS does ;-)
2) Could that need have been served by some other mechanism already
in REBOL? (such as SET/PROTECT or passing a reference)
As for myself, the answer to question (1) is "never" but perhaps
someone here can enlighten me as to what I've been missing.
-jn-