----- Original Message -----
From: Florian G. Pflug <fgp / phlo.org>
To: ruby-talk ML <ruby-talk / ruby-lang.org>
Sent: Saturday, May 19, 2001 10:03 AM
Subject: [ruby-talk:15401] Re: Discussion on new Ruby features


> Maybe syntatic sugar like "if x in [a,b,c]" should be generalized by
> introducing macros in ruby.

Please, no. Macros are evil, IMO.

> I think languages should provide a rather simple, and most important
> consistent syntax. I think Ruby is quite consistent in the way it is doing
> things. Makeing a lot of hardcoded shortcuts like the
> "if x in a" > "if a.include? x"
> translation might destroy this.

We already have the for loop... I think the in operator is an utterly
natural companion. Either add Gretel, or get rid of Hansel. I prefer the
former...

Of course, I will continue to use Ruby one way or another.

Cheers,
Hal