Is OOP becoming easier or harder?

Posted by tunmise fasipe on Programmers See other posts from Programmers or by tunmise fasipe
Published on 2012-06-10T14:17:49Z Indexed on 2012/06/10 16:47 UTC
Read the original article Hit count: 233

When the concepts of Object Oriented Programming were introduced to programmers years back it looks interesting and programming was cleaner. OOP was like this

Stock stock = new Stock();
stock.addItem(item);
stock.removeItem(item);

That was easier to understand with self-descriptive name.

But now OOP, with pattern like Data Transfer Objects (or Value Objects), Repository, Dependency Injection etc, has become more complex. To achieve the above you may have to create several classes (e.g. abstract, factory, DAO etc) and Implement several interfaces

Note: I am not against best practices that makes Collaboration, Testing and Integration easier

© Programmers or respective owner

Related posts about design-patterns

Related posts about Productivity