jeudi 5 février 2015

Relation between object oriantation and algorithms


As I read some algorithms textbooks, they are full of clever procedures for some problems (sorting, shortest path) or some general methods (recursive algorithms, divide and conquer, dynamic programming...). I found few traces of object oriented programming there; if none.


Then I was thinking:



  • What is the relation between algorithms and OOP? Are they two independent topics?

  • How OOP can help algorithms? Or in which direction it can affect it?

  • Are there some problems which only can be presented and solved by OOP?

  • Why algorithms textbook are more procedure-oriented?





Aucun commentaire:

Enregistrer un commentaire