A Reader Challenge

This is a simple challenge.  I want you to figure this out for yourself.  It’s an important step I think every developer needs to take for him/herself.

Also, please don’t give any direct answers in the comments or I will delete them. Non-answer comments are perfectly acceptable.  :-)

Without further ado, can you please give a simple definition and compare the following:

  • Procedural Code
  • Object-based Code
  • Object-oriented Code

In particular, what’s the difference between object-based code and object-oriented code?  I’ll give you a clue, it doesn’t particularly have anything to do with inheritance.

You might find these concepts in a few books.  I’ll drop a couple references here.

Finally, I’ll leave you with a slightly harder teaser problem.  What’s an “Object Role”?

If you are unsure, feel free to drop me an email, and I’ll steer you in the right direction (evanatevanhoffdotcom).  I’m not recommending those books for starters (although I’m sure they are great books).

This entry was posted in Uncategorized. Bookmark the permalink. Follow any comments here with the RSS feed for this post.

2 Responses to A Reader Challenge

  1. Chad Myers says:

    Call me skeptical when someone recommends I read a book with ‘C++’ in the title that purports to be about better object-oriented design :)

    Kinda feels like the book should be titled “An Atheists Guide to Strengthening your Evangelical Protestant Faith” :)

  2. Evan says:


    Agreed, that’s exactly why “I’m not recommending them for starters.” :-)