From: Austin Ziegler Date: 2007-09-15T22:51:15+09:00 Subject: Re: will we have rand(m, n)? On 9/15/07, kendear wrote: > given the ease of using Ruby, I wonder whether we will have rand(m, n) in > the future... > > right now, we need to use rand(range) + start > > and it can cause a bug that can otherwise be avoided if we have rand(m, n) > for the clarity. Why not instead suggest rand(m..n)? That would, I think, be more readable than rand(m, n). -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca