D - more power than (really) needed !

Deewiant deewiant.doesnotlike.spam at gmail.com
Thu Mar 9 05:58:18 PST 2006


Walter Bright wrote:
> The trouble with OOP is, well, not everything is an object. For example, 
> take the trig function sin(x). It's not an object. Of course, we could bash 
> it into being an object, but that doesn't accomplish anything but 
> obfuscation.
> 

sin(x) isn't an object, but x is, and sin can be made a property of that object.



More information about the Digitalmars-d mailing list