oop的重要性是什么? [英] what is the importance of oop?

查看:95
本文介绍了oop的重要性是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

oop的重要性是什么?

what is the importance of oop?

推荐答案

不幸的是,这个问题远远超出了 Quick 问题与解决方案的格式.回答论坛,我不能认为它是一个真正正确的问题.您需要认真研究一些文献才能理解此问题.

要了解一个想法,请参见:
http://en.wikipedia.org/wiki/面向对象的程序 [编程范式.

要对此事有一定的了解,您确实需要开发一些面向对象的项目.您还应该清楚地了解,它使用了一些类甚至virtualabstractoverride关键字不会使项目面向对象.您需要使用OOP形式,实际上和实质上使用面向对象的功能,例如动态调度 http://en.wikipedia.org/wiki/Polymorphism_%28computer_science%29>多态性,这对程序功能至关重要.

抱歉,但是原则上不可能对重要性的问题做出直接回答,因为重要性"一词过于含糊,并且由于对这个复杂问题的任何有限的固定判断都将表现为纯粹的谎言,我宁愿避免这种谎言.

—SA
Unfortunately, this question is well beyond the format of Quick Questions & Answers forum and I cannot consider it as a really correct question. You need to study some literature seriously to understand this matter.

To get an idea, please see:
http://en.wikipedia.org/wiki/Object-oriented_programming[^].

OOP is not the only possible or an a priory superior programming paradigm.

To get some understanding of this matter, you really need to develop some object-oriented projects. You should also clearly understand, that uses some classes or even virtual, abstract or override keywords does not make a project object-oriented. You need to use OOP formalities the way it really and essentially uses object-oriented functionality like dynamic dispatch of polymorphism in a ways vital to your program functionality.

Sorry, but direct answer to the question about importance is impossible in principle, because the term "importance" is too vague and because any limited-size fixed judgment on this complex matter would appear as a pure lie, which I would prefer to avoid.

—SA


//红笔的重要性是什么?
可能是它的颜色吗?

//oop的重要性是什么?
OO当然是:)
// what is the importance of a red pen?
May be its color ?

// what is the importance of oop?
The OO, of course :)


这篇关于oop的重要性是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆