ts <decoux / moulon.inra.fr> writes:

> >>>>> "S" == Sean Russell <ser / efn.org> writes:
> 
> S> Raja S. wrote:
> >> puts( (8
> >> +0)) => 10
> 
> S> This is really, really bizarre.  Can anyone explain to me why this is true? 
> S> A parse error, I could understand... but 10?
> 
> pigeon% ruby -e 'puts((8 ; + 20) / 2)'
> 10

I think the easiest way to catch this is to warn for unused constants alike
C's compiler:

% echo 'int main() { 1 ; return 0; }' > /tmp/t.c && gcc -Wall /tmp/t.c
/tmp/t.c:1: warning: statement with no effect

uh?