lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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