|
The core usefulness of OOP is usability. This is the reason I find it useful. To me, OOP is as much about your organization as it is about the best way to load, transform, present, edit, and store data. I think the culture of some companies lends itself to various kinds of programming, but it's the cultureless companies where OOP is most useful. The places where nobody is trying to change the world, where people work to pay their mortgages, where an executive may only work for two years and a programmer may only work for six months. It's in an environment like that where a self-documenting, self-configuring code base with custom classes and exceptions that guide the next developer is essential. Every developer should have two users in mind. The person using the software, and the next developer who maintains the software after you're gone. OOP is a great way to empower the second user when the only thing that will reliably outlive the developer is the code base. |
Maybe one day modules will hit the mainstream.
[0] https://ocaml.org/docs/modules