From: Daniel Finnie Date: 2007-01-09T11:21:21+09:00 Subject: Re: Why is there a seperate Math class? I have to think this is the first time I've ever really disagreed with matz and don't really understand his logic. If I were to ask someone for the length of the word apples, I would say "What is the length of apples?" In ruby, this would be "apples".length. If I were to ask someone for the sine of, say, 90, I would say "What is the sine of 90?" In ruby, this would be Math.sin(90) even though the structure of the sentence is the same as for "apples" above. Dan Bil Kleb wrote: > Daniel Finnie wrote: >> Why does everything have to be Math.(num)? Isn't num.func more >> object oriented-ish? > > That was one the first questions I had > when I came to the Ruby world. > > FWIW, here's a related answer from Matz, > > http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/71386 > > Regards, > -- > Bil Kleb > http://fun3d.larc.nasa.gov > >