Some short tips:
*An object consists of variables AND the object methods
*Most common methods are getters and setters
*Variables/Methods can have different visibilities, most common public/private
*In most cases OOP would be implemented by using class
*Although C is not OO, you can implement pseudo objects with the use of structs
*Objects can also inherit it's structure from a parent object
*There are several types of inheritance such as https://en.wikipedia.org/wiki/Polymo...puter_science)
*Pros: Portable and reusable
*Cons: Can be robust
I tried to learn OO using a number of languages. The language that helped me the most was VB.NET. It tends to be verbose which can be annoying once you know what you are doing, however the verbosity helps in the process of learning. Whenever I need to catch back up in .NET, I take a VB.NET job which makes the new concepts easier to learn. Remember, BASIC stands for Beginners All-purpose Symbolic Instruction Code.
Comment