Is OOP becoming easier or harder?
- by tunmise fasipe
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