What is 'Procedural Programming' and 'Object Oriented Programming'? Which one is better? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is 'Procedural Programming' and 'Object Oriented Programming'? Which one is better?

What is 'Procedural Programming' and 'Object Oriented Programming'? What's the difference? I ever heard that Object Oriented Programming is twice faster & less memory consumption than 'Procedural Programming'. Is that true? And also, making 'Object Oriented Programming' on PHP is harder than Java. Is that true? Thanks in advance...

11th Jan 2017, 2:32 PM
Fendi Septiawan
Fendi Septiawan - avatar
2 Answers
+ 2
object oriented programming is a way of organizing reusable code. procedural programming is creating scripts for the exact needs if an individual component. neither are better. oop scripts are often accompanied by procedural scripts
11th Jan 2017, 3:51 PM
Louis Milotte
Louis Milotte - avatar
+ 1
Thanks, Louis....
12th Jan 2017, 3:24 PM
Fendi Septiawan
Fendi Septiawan - avatar