[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
**Subject**: **Re: x:sin() vs. math.sin(x)**
**From**: "Dan Andersson" <rhq093s@...>
**Date**: Sat, 20 Apr 2002 17:34:20 +0200

On 20 Apr 2002 at 16:51, Dominik Wagner wrote:
> From a mathematical point of view:
>
> x = a + (b:sin() + c:cos() * 3):sqrt()
>
> vs
>
> x = a + math.sqrt(math.sin(b) + math.cos(c)*3)
>
> which one do you like? Quite out of the question, isn't it?
Object oriented math ;) Don't do it. Just say no! Or if you can't stop yourself: Go
Ruby young man! Go Ruby.
>
> dom
>
> -- http://www.DasGenie.com/ --
> AIM: DasGenieDotCom - ICQ: 22369156
>
>
MvH Dan Andersson