(Nov 10, 2016 12:58 PM)IBAN Wrote: Definition: What is object oriented
pastebin.com/TJ0DEMyi
For some reason lecture does not like it.
I think he wants it in a broader sense. Object Oriented Programming isn't just about splitting your code up into classes and methods, it's about focusing all your code around perform actions for objects/models in your system.
For example: A TODO list may have the following objects:
User,
Task.
The
User object would require classes/methods to handle registering, logging in.
The
Task object would require classes/methods to handle being created, being marked completed, being deleted, being assigned to a
User etc.
You can go into way more detail, but the point is you're identifying the objects in a system from your requirements and developing code around the business actions necessary for those objects. An object isn't a piece of code, it's an element in a business system.