{"id":97,"date":"2007-06-15T13:54:00","date_gmt":"2007-06-15T10:54:00","guid":{"rendered":"http:\/\/blog.yavor.info\/?p=97"},"modified":"2007-06-15T13:55:52","modified_gmt":"2007-06-15T10:55:52","slug":"abject-oriented-programming","status":"publish","type":"post","link":"http:\/\/blog.yavor.info\/?p=97","title":{"rendered":"Abject-Oriented Programming"},"content":{"rendered":"<p>\u041f\u043e\u043f\u0430\u0434\u043d\u0430 \u043c\u0438 \u0442\u0430\u0437\u0438 <a href=\"http:\/\/typicalprogrammer.com\/programming\/abject-oriented\/\">\u0431\u0440\u0438\u043b\u044f\u043d\u0442\u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u044f<\/a> \u043e\u0442\u043d\u043e\u0441\u043d\u043e <strong>Abject-Oriented Programming<\/strong>. \u041c\u043d\u043e\u0433\u043e \u0434\u043e\u0431\u0440\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043d\u0430 \u043d\u0430\u0439-\u0440\u0430\u0437\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0430\u0442\u0430 \u0442\u0435\u0445\u043d\u0438\u043a\u0430 \u0437\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438\u0440\u0430\u043d\u0435 \u043f\u043e \u0446\u044f\u043b \u0441\u0432\u044f\u0442. \u041f\u044a\u043b\u043d\u0430 \u0441 \u043c\u044a\u0434\u0440\u0438 \u0434\u0435\u0444\u0438\u043d\u0438\u0446\u0438\u0438 \u043a\u0430\u0442\u043e:<\/p>\n<blockquote><p> <em>Polymorphism<\/em><br \/>\n&#8230; Code is polymorphic when it gives different outputs for different kinds of inputs&#8230;<\/p><\/blockquote>\n<p> \u0438\u043b\u0438<\/p>\n<blockquote><p>A <em>virtual class<\/em> or function is code that the application will eventually need, but it isn\u2019t written yet.<\/p><\/blockquote>\n<p>\u0438\u043b\u0438<\/p>\n<blockquote><p> A <em>fragile base class <\/em>is a class or module that has been in the application for a long time, and any change to it will break the rest of the application.<\/p><\/blockquote>\n<p>\u0418\u043c\u0430 \u0438 \u043c\u044a\u0434\u0440\u0438 \u0441\u044a\u0432\u0435\u0442\u0438 \u043e\u0442\u043d\u043e\u0441\u043d\u043e \u0434\u043e\u0431\u0440\u0438\u0442\u0435 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438 \u043d\u0430 \u043f\u0438\u0441\u0430\u043d\u0435 \u043d\u0430 \u043a\u043e\u0434:<\/p>\n<blockquote><p>Overloading is when a module or chunk of code does more than one thing. An example would be a subroutine to get a customer\u2019s name, email address, and state sales tax rate. Using overloaded functions cuts down on method dispatching, which is one of the reasons other programming styles can result in slow code.<\/p><\/blockquote>\n<p>\u0438<\/p>\n<blockquote><p>&#8230; overloading is when data is passed to a function or module in globals because too many function parameters overload the compiler &#8230; when variables are kept in globals there\u2019s no need for garbage collection.<\/p><\/blockquote>\n<p>\u0411\u0440\u0438\u043b\u044f\u043d\u0442\u043d\u043e! \u041f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u0434\u044a\u043b\u0436\u0438\u0442\u0435\u043b\u043d\u043e \u043d\u0430\u0441\u0442\u043e\u043b\u043d\u043e \u0447\u0435\u0442\u0438\u0432\u043e \u0437\u0430 \u0432\u0441\u0438\u0447\u043a\u0438 \u043c\u0438\u043d\u0430\u043b\u0438, \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438 \u0438 \u0431\u044a\u0434\u0435\u0449\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438\u0441\u0442\u0438 <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u043e\u043f\u0430\u0434\u043d\u0430 \u043c\u0438 \u0442\u0430\u0437\u0438 \u0431\u0440\u0438\u043b\u044f\u043d\u0442\u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u044f \u043e\u0442\u043d\u043e\u0441\u043d\u043e Abject-Oriented Programming. \u041c\u043d\u043e\u0433\u043e \u0434\u043e\u0431\u0440\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043d\u0430 \u043d\u0430\u0439-\u0440\u0430\u0437\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0430\u0442\u0430 \u0442\u0435\u0445\u043d\u0438\u043a\u0430 \u0437\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438\u0440\u0430\u043d\u0435 \u043f\u043e \u0446\u044f\u043b \u0441\u0432\u044f\u0442. \u041f\u044a\u043b\u043d\u0430 \u0441 \u043c\u044a\u0434\u0440\u0438 \u0434\u0435\u0444\u0438\u043d\u0438\u0446\u0438\u0438 \u043a\u0430\u0442\u043e: Polymorphism &#8230; Code is polymorphic when it gives different outputs for different kinds of inputs&#8230; \u0438\u043b\u0438 A virtual class or function is code that the application will eventually need, but it <a href='http:\/\/blog.yavor.info\/?p=97' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/blog.yavor.info\/index.php?rest_route=\/wp\/v2\/posts\/97"}],"collection":[{"href":"http:\/\/blog.yavor.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.yavor.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.yavor.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.yavor.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=97"}],"version-history":[{"count":0,"href":"http:\/\/blog.yavor.info\/index.php?rest_route=\/wp\/v2\/posts\/97\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.yavor.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=97"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.yavor.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=97"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.yavor.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}