From: Pixel Date: 2001-10-27T03:50:51+09:00 Subject: [ruby-talk:23489] Re: Issues with white space [was Re: Bruce Eckel's opinion of Ruby] ts writes: > >>>>> "S" == Sean Russell writes: > > S> Raja S. wrote: > >> puts( (����8 > >> +�20)�/�2) => 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?