From: Cameron McBride Date: 2005-05-26T21:53:47+09:00 Subject: Re: A different perspective on Ruby. On 5/26/05, Brian Schr�der wrote: > On 26/05/05, gsinclair@gmail.com wrote: > > ES wrote: > > > > > http://www.ericw.org/rants/showrant.psp?rant=ruby > > > > "It's 5.abs for absolute value, but Math.sqrt(5) for square root." > > > > Good point. That bugs me too. abs is a *function*, not logically a > > method. > > > > Why not 5.sqrt instead. Better to ask the object to do something, that > to do something with the object. I would also agree. This did make me ponder when I initially found it. If they have to be in a module, wouldn't it make sense to have it be default includeable? Cameron