From: Marko Schulz Date: 2002-04-03T09:28:51+09:00 Subject: Re: Difference between 'do' and 'begin' On Wed, Apr 03, 2002 at 05:53:52AM +0900, Chris wrote: > On Wed, 27 Mar 2002 16:59:36 GMT, Tobias Reif > wrote in comp.lang.ruby: > > >> a + b # expression > >> x = a + b # statement > > > >aren't both of them expressions in Ruby? > > Yes. In OO languages every code fragment either returns a value or raises > an exception. Huh? This is true for ruby. And I would accept it as a proposition for functional languages. But OO? Why is a language that includes statements and methods without a return value not OO? -- marko schulz