Gabriel Sechan wrote:

And I'd note that he has a recursive definition on his hands.

Well, they'd actually say "method" instead of function. ;-)

I'd also ask how using such a definition would possibly make a program better.

Definitions and semantics usually don't have an impact on programming. That being said, functors are a great way to make functions first class objects, thereby letting you do functional programming, and that can indeed make for better programs.


At the end of which I'd probably be trying not to laugh, and I'd be reassured in my main reason for using C over C++ - that OOP people really overcomplicate simple things.

Shame on you for looking at C++ as an example of what OOP people do. If you look at C and then look at Smalltalk, one might very reasonably reach the conclusion that procedural programming people really overcomplicate simple things. ;-)


--Chris

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

Reply via email to