3 ms·
OO has brought us a lot of extremely bloated, over-engineered, "enterprise" monstrosities over the years, and imho should not be encouraged. When done correctl
by Teckla 13y ago
OO has brought us a lot of extremely bloated, over-engineered, "enterprise" monstrosities over the years, and imho should not be encouraged.
When done correctly, object oriented programming is a lot like the Unix philosophy.
The Unix philosophy (in part): Write programs that do one thing and do it well. Write programs to work together.
Correctly done object oriented programming: Write objects that do one thing and do it well. Write objects to work together.
There's a lot of very poorly written non-OO code out there. Don't blame OO because there's also a lot of poorly written OO code out there. OO is, in part, a tool to manage code complexity. Blaming OO for complexity is like blaming Unix for complexity because there are too many programs in the /bin directory.