+ 1

What is basic difference in programming and object oriented programming.

I was programming in c just to make a simple game and I found everything same as well everything unknown. is object oriented programming means programming with including a specific portion of that language. I can't elaborate it sorry but I think I've explained my question please answer.

11th May 2018, 3:21 PM
VIJAY MOURYA
VIJAY MOURYA - avatar
1 Answer
+ 1
Hello VIJAY MOURYA Object Oriented Programming (OOP) is a programming way of doing thing. It is opposed to Functional Programming where you would structure you program in functions. In OOP you create classes instead. You can think of a class like a 'kind', 'group of things with similar caracteristics'. That the way we see things in the world around us. For example, the word 'animal' is a 'group' of creatures. Dog is a 'kind' of animal. When you use OOP you can make statements like: Animal.eat(); Dog.sleep(); This makes programming languages more close to humans and less close to machine as opposed to functional programming. Well there is a lot to say about this. But I hope I helped somehow.
11th May 2018, 4:31 PM
Ulisses Cruz
Ulisses Cruz - avatar