在Python 3000中删除多重继承 [英] Remove multiple inheritance in Python 3000
问题描述
请删除Python 3000中多重继承的功能。
多重继承对设计不利,很少使用,并且对于普通用户来说包含很多
问题。
每个程序只能用单继承设计。
我也在 http://bugs.python.org/issue2667
Please remove ability to multiple inheritance in Python 3000.
Multiple inheritance is bad for design, rarely used and contains many
problems for usual users.
Every program can be designed only with single inheritance.
I also published this request at http://bugs.python.org/issue2667
推荐答案
GD写道:
GD wrote:
请删除Python 3000中多重继承的能力。
Please remove ability to multiple inheritance in Python 3000.
I 我很高兴*这是一只死鹦鹉,好吧。
Stefan
I''m so happy *that''s* a dead parrot, all right.
Stefan
GD schrieb:
GD schrieb:
请删除Python 3000中多重继承的功能。
多重继承对设计不利,很少使用,包含很多
普通用户的问题s。
每个程序只能用单继承设计。
Please remove ability to multiple inheritance in Python 3000.
Multiple inheritance is bad for design, rarely used and contains many
problems for usual users.
Every program can be designed only with single inheritance.
是的,当然。这就是为什么Java增长接口和放大器的原因。它的类图是
非常复杂。因为使用单一继承要好得多。
Diez
Yes, sure. And that''s why Java grew interfaces & it''s class-diagrams are
hilariously complex. Because using single inheritance is so much better.
Diez
GD写道:
GD wrote:
请删除Python 3000中多重继承的功能。
多重继承对设计不利,很少使用并包含许多
问题通常的用户。
Please remove ability to multiple inheritance in Python 3000.
Multiple inheritance is bad for design, rarely used and contains many
problems for usual users.
啊,还有一个:
医生,当我这样做时,它会疼!
- 然后不要那样做!
Stefan
Ah, one more:
"doctor, when I do this, it hurts!"
- "then don''t do that!"
Stefan
这篇关于在Python 3000中删除多重继承的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!