OOP (Object-Oriented Programming)

Now for something completely different, let’s talk about object-oriented programming (OOP). You might already be familiar with this term, either from previous experience or from research you’ve done while reading this book, but you might not really understand what it means. First let me say that OOP is not as confusing as it might seem, but it is very powerful. OOP is an effective way to organize and share code—and as a result, the code becomes easier to work with. The name object-oriented programming comes from the idea that your programs should literally be based on objects (the type of objects you learned about in Chapter 5, “Data (Types), Data (Structures), Data(bases)”). I don’t find the name to be that ...

Get Learning to Program now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.