On Apr 10, 2005, at 4:08 PM, Christopher Smith wrote:

Gabriel Sechan wrote:


Classes and functions are orthogonal, they aren't a replacement for each other. Classes are a collection of data and functions that work on that data.


A hard core OOP person would argue that a function is just a simple case where a class has no data and one function.

A hard core function person would argue that classes are just generic type-dispatchable functions whether the first argument is always the class instance.


-a


-- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to