From: Michael Campbell Date: 2003-05-13T22:57:32+09:00 Subject: Re: Ruby OO? sin method? puts method? @@? --- KONTRA Gergely wrote: > On 0513, nobu.nokada@softhome.net wrote: > > > Than why not sin is a method? > > To fit to mathematical notation. > ??? > I write sin(0.5) but also abs(0.5) > So I don't know why the difference, and why cannot a number tell > it's sin. This is analogous to "asdf".length and the others... I tend to agree with you, but some things in Ruby are just the way they are. I don't like that particular inconsistency, but it's not something that's worth ditching the language over. Also, if it comes to it, I can write my own which is not at all difficult. __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com