[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
**Subject**: **Re: x:sin() vs. math.sin(x)**
**From**: Björn De Meyer <bjorn.demeyer@...>
**Date**: Sun, 21 Apr 2002 13:31:57 +0200

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?
>
> dom
>
I prefer
x = a + sqrt(sin(b) + cos(c)*3).
Object-orientation is all good and well,
but it becomes ludicrous when over-used or misapplied.
--
"No one knows true heroes, for they speak not of their greatness." --
Daniel Remar.
Björn De Meyer
bjorn.demeyer@pandora.be