Learning Object-Oriented Programming: Explore and crack the OOP code in Python, JavaScript, and C#

Key FeaturesWrite reusable code that defines and makes objects interact with one anotherDiscover the differences in inheritance and polymorphism in Python, JavaScript, and C#Capture objects from real-world elements and create object-oriented code that represents themBook DescriptionLearning Object-Oriented Programming is an easy-to-follow guide full of hands-on examples of solutions to common problems with object-oriented code in Python, JavaScript, and C#. It starts by helping you to recognize objects from real-life scenarios and demonstrates that working with them makes it simpler to write code that is easy to understand and reuse. You will learn to protect and hide data with the data encapsulation features of Python, JavaScript, and C#.You will explore how to maximize code reuse by writing code capable of working with objects of different types, and discover the advantage of duck typing in both Python and JavaScript, while you work with interfaces and generics in C#. With a fair understanding of interfaces, multiple inheritance, and composition, you will move on to refactor existing code and to organize your source for easy maintenance and extension.Learning Object-Oriented Programming will help you to make better, stronger, and reusable code.What you will learnGenerate instances in three programming languages: Python, JavaScript, and C#Customize constructors and destructorsWork with a combination of access modifiers, prefixes, properties, fields, attributes, and local variables to encapsulate and hide dataTake advantage of specialization and the possibility to overload or override membersCreate reusable and easier to maintain codeUse interfaces, generics, and multiple inheritance when availableAbout the AuthorGaston C. Hillar has been working with computers since he was 8 years old. In the early 80s, he began programming with the legendary Texas TI-99/4A and Commodore 64 home computers. Gaston has a bachelor's degree in computer science and graduated with honors. He also holds an MBA, in which he graduated with an outstanding thesis. At present, Gaston is an independent IT consultant and a freelance author who is always looking for new adventures around the world.Table of ContentsObjects EverywhereClasses and InstancesEncapsulation of DataInheritance and SpecializationInterfaces, Multiple Inheritance, and CompositionDuck Typing and GenericsOrganization of Object-oriented CodeTaking Full Advantage of Object-oriented Programming

Author: Gaston C. Hillar

Learn more