From: ts Date: 2001-10-27T16:16:33+09:00 Subject: [ruby-talk:23603] Re: Issues with white space [was Re: Bruce Eckel's opinion of Ruby] >>>>> "P" == Pixel writes: P> ts writes: >> >> pigeon% ruby -e 'puts((8 ; + 20) / 2)' >> 10 P> I think the easiest way to catch this is to warn for unused constants alike P> C's compiler: P> % echo 'int main() { 1 ; return 0; }' > /tmp/t.c && gcc -Wall /tmp/t.c P> /tmp/t.c:1: warning: statement with no effect Why ? this is usefull (this is 1.7) pigeon% ruby -e 'def (class A; self; end)::a; puts 12; end; A::a' 12 pigeon% Guy Decoux