{"id":302,"date":"2014-08-11T20:43:42","date_gmt":"2014-08-12T04:43:42","guid":{"rendered":"http:\/\/www.tech.dimprash.com\/?p=302"},"modified":"2014-08-11T20:43:42","modified_gmt":"2014-08-12T04:43:42","slug":"object-oriented-programming-vs-procedural","status":"publish","type":"post","link":"http:\/\/www.tech.dimprash.com\/?p=302","title":{"rendered":"Object Oriented Programming vs Procedural"},"content":{"rendered":"<p>Difference Between Procedure Oriented Programming (POP) &#038; Object Oriented Programming (OOP)<\/p>\n<p><strong>Procedure Oriented Programming<\/strong><br \/>\nIn POP, program is divided into small parts called functions.<br \/>\nIn POP,Importance is not given to data but to functions as well as sequence of actions to be done.<br \/>\nPOP follows Top Down approach.<br \/>\nPOP does not have any access specifier.<br \/>\nIn POP, Data can move freely from function to function in the system.<br \/>\nIn POP, Most function uses Global data for sharing that can be accessed freely from function to function in the system.<br \/>\nPOP does not have any proper way for hiding data so it is less secure.<\/p>\n<p><strong>Object Oriented Programming<\/strong><\/p>\n<p>In OOP, program is divided into parts called objects.<br \/>\nIn OOP, Importance is given to the data rather than procedures or functions because it works as a real world.<br \/>\nOOP follows Bottom Up approach.<br \/>\nOOP has access specifiers named Public, Private, Protected, etc.<br \/>\nIn OOP, data can not move easily from function to function,it can be kept public or private so we can control the access of data.<br \/>\nOOP provides Data Hiding so provides more security.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Difference Between Procedure Oriented Programming (POP) &#038; Object Oriented Programming (OOP) Procedure Oriented Programming In POP, program is divided into small parts called functions. In POP,Importance is not given to data but to functions as well as sequence of actions to be done. POP follows Top Down approach. POP does not have any access specifier. &hellip; <a href=\"http:\/\/www.tech.dimprash.com\/?p=302\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Object Oriented Programming vs Procedural<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-302","post","type-post","status-publish","format-standard","hentry","category-concepts"],"_links":{"self":[{"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/posts\/302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=302"}],"version-history":[{"count":1,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/posts\/302\/revisions"}],"predecessor-version":[{"id":303,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=\/wp\/v2\/posts\/302\/revisions\/303"}],"wp:attachment":[{"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=302"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.tech.dimprash.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}