你对面向对象编程的3个特征的权重是多少.... [英] What is your weightage of the 3 characteristics of Object-Oriented Programming....

查看:54
本文介绍了你对面向对象编程的3个特征的权重是多少....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


对象面向3个特征的权重是多少

编程

即继承,封装和多态性。总计100%


请引用你的价值观,让我们讨论人们如何思考OOP


: - )

问候,

.... @ shok

------------------- -------------------------------------------------- ---

对于工程师来说,塑造和设计艺术家的形状和设计是相同的。但是,整个过程是否有意义,无论男人是否变得更快乐 - 我都无法继续做出更多的决定。 - Rudolph Diesel

Hi All,

What is your weightage of the 3 characteristics of Object-Oriented
Programming
i.e. Inheritance, Encapsulation and Polymorphism. for a total of 100%

Please quote your values and let''s discuss how the people thinking about OOP

:-)
Regards,
....@shok
------------------------------------------------------------------------
"It is beautiful for an engineer to shape and design the same way
that an artist shapes and designs. But whether the whole process
makes any sense, whether men become happier - that I can no
longer decide." - Rudolph Diesel

推荐答案

" G.Ashok" < GW ****** @ hotmail.com> écritdansle message de news:

Oz ************** @ TK2MSFTNGP09.phx.gbl ...
"G.Ashok" <gw******@hotmail.com> a écrit dans le message de news:
Oz**************@TK2MSFTNGP09.phx.gbl...
面向对象编程的三个特征的重量是什么?
即继承,封装和多态。总计100%
What is your weightage of the 3 characteristics of Object-Oriented
Programming
i.e. Inheritance, Encapsulation and Polymorphism. for a total of 100%




聚合,组合和授权怎么样?


Joanna

-

Joanna Carter

顾问软件工程师



What about Aggregation, Composition and Delegation ?

Joanna

--
Joanna Carter
Consultant Software Engineer


我不知道相对权重......我不知道是否甚至

意味着什么。


但是,我声称封装通常是原则这是最实用的应用程序......它最容易看到即时和直接的封装优势,因此对于旧的程序来说很容易/>
编程像我这样的黑客,看看它是什么。


接下来是继承,除非

你首先要了解封装。在编写了很多独立的,封闭式的封闭类之后,为什么你需要

继承才开始有意义。


最后,多态性是三者中最抽象的。一旦你有了b $ b封装和继承,你就会开始看到

多态性有用的场景。


这什么也没说关于他们对

软件项目成功的相对重要性,或者他们在行业中的使用频率。这只是

我推荐那些新手到OO的程序员处理它们的顺序,

因为每个人的好处往往更加清晰。

方式。

I don''t know about "relative weightage"... I don''t know if that even
means anything.

However, I claim that Encapsulation is usually the principle that has
the most ready application... it''s easiest to see immediate and direct
advantages to encapsulation, so it''s easy for old procedural
programming hacks like me to see what it''s for.

Next comes Inheritance, which doesn''t make a whole lot of sense unless
you first understand encapsulation. After writing a lot of stand-alone,
encapsulated classes, it starts to make sense why you''d want
inheritance.

Finally, Polymorphism is the most abstract of the three. Once you have
encapsulation and inheritance, you start to see scenarios in which
polymorphism would be useful.

This says nothing about their relative importance to success of
software projects, or their frequency of use in the industry. It''s just
the order in which I recommend that programmers new to O-O tackle them,
becaues the benefits of each tend to be clearer when approached this
way.




Joanna,


代表团,遏制,是我认为的所有设计模式而不是关键的OOP特征。这些都在VB6中使用,如langauages。剩下的

这些东西都是OOA和OOD等概念术语的cource都是

适用于OO。


问候,

.... Ashok

" Joanna Carter(TeamB)" <乔***** @ nospamforme.com>在消息中写道

新闻:e4 ************* @ TK2MSFTNGP15.phx.gbl ...

| " G.Ashok" < GW ****** @ hotmail.com> écritdansle message de news:

| Oz ************** @ TK2MSFTNGP09.phx.gbl ...

|

| >您对面向对象的3个特征的权重是多少?
| >编程

| >即继承,封装和多态性。总计100%

|

|聚合,组合和授权怎么样?

|

|乔安娜

|

| -

|乔安娜卡特

|顾问软件工程师

|

|

Joanna,

Delegation, Containment, are all I think design patterns and not key
characteristics of OOP. These are all used in VB6 like langauages. Rest of
the things are conceptual terms of OOA and OOD etc. of cource all are
applied to OO.

Regards,
....Ashok
"Joanna Carter (TeamB)" <jo*****@nospamforme.com> wrote in message
news:e4*************@TK2MSFTNGP15.phx.gbl...
| "G.Ashok" <gw******@hotmail.com> a écrit dans le message de news:
| Oz**************@TK2MSFTNGP09.phx.gbl...
|
| > What is your weightage of the 3 characteristics of Object-Oriented
| > Programming
| > i.e. Inheritance, Encapsulation and Polymorphism. for a total of 100%
|
| What about Aggregation, Composition and Delegation ?
|
| Joanna
|
| --
| Joanna Carter
| Consultant Software Engineer
|
|


这篇关于你对面向对象编程的3个特征的权重是多少....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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