[#1026] Is this a bug? — Dave Thomas <Dave@...>

18 messages 2000/01/03

[#1084] Infinite loop — Dave Thomas <Dave@...>

17 messages 2000/01/11

[#1104] The value of while... — Dave Thomas <Dave@...>

24 messages 2000/01/11

[ruby-talk:01161] Re: Is this expected behavior?

From: Dave Thomas <Dave@...>
Date: 2000-01-22 02:56:59 UTC
List: ruby-talk #1161
matz@netlab.co.jp (Yukihiro Matsumoto) writes:

> Do you prefer
>     p (1...10).end
> for 
>     p((1...10).end)
> and
>     p(1...10).end
> for
>     (p(1...10)).end

In general, I get nervous when whitespace makes that big a difference, 
but I know we're already got many situations like this. I suppose
throwing some kind of 'ambiguous parse' error is out of the question?

Otherwise, I guess either way is fine--I don't see much benefit in
changing.

Regards

Dave

In This Thread