From: "M. Edward (Ed) Borasky" Date: 2006-10-27T09:08:52+09:00 Subject: Re: simple math question Robert Oliver wrote: > On 10/26/06, Wilson Bilkovich wrote: >> >> class Fixnum >> def even? >> (self % 2).zero? >> end >> def odd? >> !even? >> end >> end >> >> > I normally do that, but I remember somewhere reading that it was bad > form to > not include the return statement. I'm not sure where this was. Is anyone > familiar with this syntax quasi-rule? > I tend to use un-necessary "return" statements in most of my code, because it makes it easier for me to read. But I suppose the language designers that provide simplified syntax do so for a reason, so I would say the correct style is the minimum amount of code the language allows.