Saturday, September 30, 2006

Programming Paradigms - don't be popular

Why does OO have a list of critism (and also mention lack of Evidence) but the other programming Paradigms don't on Wikipedia?

http://en.wikipedia.org/wiki/Object-oriented_programming

Surely the 'others' don't have good evidence they make programming faster/better either?

Some examples:

http://en.wikipedia.org/wiki/Functional_programming
http://en.wikipedia.org/wiki/Procedural_programming
http://en.wikipedia.org/wiki/Logic_programming
http://en.wikipedia.org/wiki/Imperative_programming
http://en.wikipedia.org/wiki/Reflective_programming
http://en.wikipedia.org/wiki/Relational_database (ok, not strictly a programming paradigm)
I agree Relational databases are much more popular than OODB and therefore must be better ;-)

I guess some of the reasons are that (a) it's being applied everywhere, even when it's not applicable, (b) no proof of being better, (c) other good reasons.

But mostly, I suspect, it's hated because it's popular.

I expect, in reality, programming efficiency is more "fitting people's minds" than "less lines of code" or "better speed efficiency" (take functional vs. imperative, for instance).

0 Comments:

Post a Comment

<< Home

Newer›  ‹Older