DEV Community

Discussion on: The dichotomy of writing and reading object-oriented code

Collapse
 
developerscode profile image
Ka Wai Cheung

Good to know I'm not alone :)

I'd guess that it's the way most people perceive the world. You have a thing you need to build and you build it in the way you interpret it in your mind - which is fairly linearly. In a strange way, you're the sole "object" at play at the time you create that code. Refactoring into OO is kind of like looking back in the rear view mirror and thinking about driving down that path again, but letting the real "objects" do the work.