Back when I got into programming one of my biggest hurdles was learning about Object-Oriented Programming (OOP). In short, object-oriented programming is a computer programming model (or paradigm) that puts data at the core of your c level contact list software. OOP has been the ruling paradigm in programming circles since the 1970s and the most popular programming languages of the last decades have been built from the ground up with object-oriented programming in mind.
What is a programming paradigm?
What if I were to ask you to write a set of instructions to get the number 10? Reaching the number 10 is a problem, and the set of instructions to reach that number is a solution.
Odds are that you could make up a if you ne help on this journey dozen different ways to reach the same result, but most would think first of multiplying 2 and 5 or adding 5 twice. The fact that most of us will probably think about using the same procedures to approach this as a mathematical problem means that we share something in common: a paradigm.
Understanding the differences between OOP and functional programming
At the core of OOP lies the notion of an “object”, that is, an element that has certain characteristics (attributes) and things that it can do (methods).
For example, let’s say we have a cake marketing list object. Attributes are the inherent qualities of the cake (size, shape, taste, color) and methods are things you can do with the cake (eat it, give it away, put candles on it).