From: Daniel Carrera Date: 2003-01-28T09:21:29+09:00 Subject: Re: ruby-dev summary 19380-19436 On Tue, Jan 28, 2003 at 08:41:36AM +0900, TAKAHASHI Masayoshi wrote: > * use two-space indentation, no TABs Is that a rigid rule. I like 4 spaces. I can do without TABs, but I really want to indent my code. > There are some issues remained. > > * Is the method name 'quo' appropriate? I can't imagine what "quo" would stand for. How about 3.div(2) or 3.frac(2) ? > * Should we make Rational into standard? Sure. > * Does int.quo(float) and rational.quo(float) return > Rational or Float? Any conversion from float to rational will have some errors, and I think that people would expect Rational to be exact. I would suggest to return Float, because at least people expect to see some round-off issues there. -- Daniel Carrera Graduate Teaching Assistant. Math Dept. University of Maryland. (301) 405-5137