![]() |
|
Object Oriented Paradigm - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Coders Lounge (https://hackforums.net/forumdisplay.php?fid=5) +---- Thread: Object Oriented Paradigm (/showthread.php?tid=5459926) |
Object Oriented Paradigm - IBAN - Nov 10, 2016 Hello, who understand these types of things? I need help because i can't find a clear definition of it, well i have found and wrote but unfortunately my lecture say's it's incorrect. * - FeatureBug - Nov 10, 2016 (Nov 10, 2016 11:09 AM)IBAN Wrote: Hello, who understand these types of things? What is it you're struggling to understand mate? Is it a specific part of object oriented design/programming or do you not get the whole thing? * - IBAN - Nov 10, 2016 (Nov 10, 2016 12:55 PM)FeatureBug Wrote: What is it you're struggling to understand mate? Is it a specific part of object oriented design/programming or do you not get the whole thing? Definition: What is object oriented pastebin.com/TJ0DEMyi For some reason lecture does not like it. * - FeatureBug - Nov 10, 2016 (Nov 10, 2016 12:58 PM)IBAN Wrote: Definition: What is object oriented 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. |