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).
Post Footer automatically generated by Add Post Footer Plugin for wordpress.