Learning object oriented programming is one of the biggest steps in learning computer science for sure. I think this is what separates the very beginners from the next level, mostly because at first it's kind of a hard concept to grasp, for humans. It's very basic and probably one of the more heavily used tools in programming games, webpages, and complex softwares. It's so widely used because it's so key. In fact if I were to design the universe, I would definitely use classes to code objects.
Everything could be classified in terms of classes and defined as objects, which is one of the first things we are taught about object oriented programming when we start. Once you start to think about it, object oriented programming starts to make sense and really becomes quite a problem solver. Data encapsulation not only makes things tidier but also easier to understand and keep track of. As an object, everything has it's own set of data which we expect it to have.
Strings, lists, arrays, the list goes on. Objects are what propels us into the future! Before objects we would rely on numbers, an object on their own level, and before that boolean expressions which we use to relay data into computers.
Objects and classes, I think, are amongst the first layers of the programming pyramid. Most of what we program is made so much easier thanks to objects. Like my classmate (linked) explains, object oriented programming is useful not only because of the ability to organize large amounts of data (encapsulate) but also helps the computer's ability to reference the data.
Object oriented programming starts out as foreign but eventually becomes something we can even consider in real life, something that makes sense even in the abstract sense when consider any thing and even any real life methods that exist. It's the existence of object oriented programming that makes us wonder, sometimes, is the world we live in a computer simulation?
No comments:
Post a Comment