The success of OOP
Allen Wirft-Brock gave the following defense of OOP a few days ago in a series of six posts on Twitter:
A young developer approached me after a conf talk and said, "You must feel really bad about the failure of object-oriented programming." I was confused. I said, "What do you mean that object-orient programming was a failure. Why do you think that?"
He said, "OOP was supposed to fix all of our software engineering problems and it clearly hasn't. Building software today is just as hard as it was before OOP. came along."
"Have you ever look at the programs we were building in the early 1980s? At how limited their functionality and UIs were? OOP has been an incredible success. It enabled us to manage complexity as we grew from 100KB applications to today's 100MB applications."
Of course OOP hasn't solved all software engineering problems. Neither has anything else. But OOP has been enormously successful in allowing ordinary programmers to write much larger applications. It has become so pervasive that few programmers consciously think about it; it's simply how you write software.
I've written several posts poking fun at the excesses of OOP and expressing moderate enthusiasm for functional programming, but I appreciate OOP. I believe functional programming will influence object oriented programming, but not replace it.
Related: