
{"id":82,"date":"2010-11-03T18:59:58","date_gmt":"2010-11-03T13:29:58","guid":{"rendered":"http:\/\/compilerart.org\/?p=82"},"modified":"2010-11-03T18:59:58","modified_gmt":"2010-11-03T13:29:58","slug":"object-oriented-programming","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2010\/11\/03\/object-oriented-programming\/","title":{"rendered":"object oriented programming"},"content":{"rendered":"<div class=\"img-with-text\">\n <a href=\"http:\/\/www.trueangle.org\/wp-content\/uploads\/2011\/01\/50970-paper1-2.pngwp-content\/uploads\/2010\/11\/oop1.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/compilerart.org\/wp-content\/uploads\/2010\/11\/oop1-300x226.png\" alt=\"\" title=\"oop\" width=\"300\" height=\"226\" class=\"alignleft size-medium wp-image-100\" \/><\/a><\/p>\n<p style=\"font-size:16px;\">Class Definition Related<\/p>\n<\/div>\n<p><code><br \/>\ndiv.entry h2.title, div.entry h1.title<br \/>\n{ padding-bottom: 22px; background-color: #4e9258 ; font-family: serif; font-size:150%;}<br \/>\n<\/code><\/p>\n<pre>\nObject-oriented programming (OOP) is a programming paradigm\nthat uses \"objects\" \u2013 data structures consisting of data fields and\nmethods together with their interactions \u2013 to design applications\nand computer programs\n<br \/>\nReference\/Source:\nhttp:\/\/en.wikipedia.org\/wiki\/Object-oriented_programming\n<\/pre>\n<p><\/br><\/p>\n<p style=\"font-size:16px;\">Code Exposition<\/p>\n<p><code><br \/>\np.first{ color: blue; }<br \/>\np.second{ color: red; }<br \/>\n&lt;html&gt;<br \/>\n&lt;body&gt;<br \/>\n&lt;p&gt;This is a normal paragraph.&lt;\/p&gt;<\/p>\n<p>&lt;p class=\"first\"&gt;This is a paragraph that uses the p.first CSS code ! &lt;\/p&gt;<br \/>\n&lt;p class=\"second\"&gt;This is a paragraph that uses the p.second CSS code!&lt;\/p&gt;<br \/>\n...<\/p>\n<p>Reference\/Source:<br \/>\nhttp:\/\/www.tizag.com\/cssT\/class.php<br \/>\n<\/code><\/p>\n<p style=\"font-size:16px;\">Related Research<\/p>\n<pre>\nActually, every OOP language should be concurrent in nature.\nAs previously stated, OOP attempts to model objects found in\nthe real world, and in the real world many of these objects con-\ncurrently exist and communicate with one another. In the 'ideal'\nenvironment (sort of a virtual machine), every object would have\nits own processor as well as its own memory space, allowing\nmaximum concurrency at all times. Inherently concurrent obje-\ncts could even have multiple processors assigned to them.\n\nCONCURRENCY IN CONVENTIONAL OOP LANGUAGES\nC-Based Languages. C++ [Str86, WP88] and Objective-C\n[Cox86] do not include any constructs for handling concur-\nrency. However, since they are extensions of C [KR78], they\ncan do anything that C can do. Although C itself does not\nsupport concurrency, any extension to C could most likely\nbe implemented in a C-based OOP language. Additionally,\nany scheme in which C is allowed to make a call to the\noperating system to start (spawn) a new process could also\nbe accomplished from a C-based OOP language. Eiffel\n[Mey88] does not include any form of concurrency, but they\nare reportedly making an effort in this direction.\n\nLisp-Based Languages. Similar to C-based languages, CLOS\n[BDG88, Kee89, Moo89] (an extension of Common Lisp\n[Ste84]), does not include any  constructs for handling concurrency\nand, unfortunately, Common Lisp does not support concurrency\nin any form either. However, as Lisp is a form of functional\nprogramming (which is based on the lambda calculus), some\nform of concurrency is possible. In pure functional programming,\na program may be expressed as a single function call, with the\narguments to the function themselves being function calls; the\narguments to these functions can in turn be function calls, etc.\nSince the value returned by a pure function is determined solely\nby the arguments passed to it, implementations can be devised\nwhich allow for all of the arguments\n\nwhich are function calls to be executed in parallel. The arguments\nof these function calls which are themselves functions can then be\nexecuted in parallel, and so on. This is sometimes referred to as\ndivide and conquer in that a program is divided up into concurrent\nsubprograms (the arguments which are function  calls) which can\nthen be conquered (solved) by again using the divide and conquer\n scheme [Pey87].\n\nReference\/Source:\nCONCURRENCY &amp; OBJECT-ORIENTED PROGRAMMING\nMichael L. Nelson, Major, USAF\nDepartment of Computer Science\nNaval Postgraduate School\nMonterey, CA 93943\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Class Definition Related div.entry h2.title, div.entry h1.title { padding-bottom: 22px; background-color: #4e9258 ; font-family: serif; font-size:150%;} Object-oriented programming (OOP) is a programming paradigm that uses &#8220;objects&#8221; \u2013 data structures consisting of data fields and methods together with their interactions \u2013 to design applications and computer programs Reference\/Source: http:\/\/en.wikipedia.org\/wiki\/Object-oriented_programming Code Exposition p.first{ color: blue; } p.second{ &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2010\/11\/03\/object-oriented-programming\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;object oriented programming&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/82"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=82"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/82\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}