[REBOL] Re: [ feature request /intelligence ]
From: riusa:email:it at: 11-Apr-2002 9:13
I agree with you. If Rebol would automatically initialize words, I
cannot be advised if I made a typing error. Furthermore, I tested
another good language: Python... it behaves the same way: try this in
you will obtain this:
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
NameError: name 'b' is not defined
> Hi Norman,
> << I would expect that a variable not defined could automaticly
> be assigned. ie -> >>
> It certainly could be, but REBOL isn't designed to do it (though I'm sure
> they could change it if they wanted to). While that kind of thing can be
> helpful in building very small scripts, it's also hard to find bugs
> come from that behavior. E.g. you type a name incorrectly but REBOL
> warn you, and creates the new word silently. Now your code "runs" but
> doesn't work correctly. REBOL actually goes further toward "intelligence"
> than any other language I know in many ways. By that I mean it works
> a way that makes your life easier, and works as expected. I often find
> I have a problem and start debugging it, by the time I've eliminated half
> the code, it works correctly. I just try to make it much too hard. REBOL
> almost always provides a simple solution. Often times the people on the ML
> will tell me about a built-in function that does what I want already, or
> will show me how to do something with 3 or 4 words that I wrote 20
> code to do.
> Just my 2c.
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f
VolaSMS, il software pi=F9 completo per inviare e ricevere SMS dal tuo PC
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=276&d=11-4