-
assigned issue to
Поправить цитату про примеси
[citation needed] - это что?
Цитату вообще из английской wiki наверное можно взять.
Comments (9)
-
-
Дайте же "ссылочку"!
-
reporter Да это Игорю наверное всё же.
-
reporter Ссылка вот - http://18delphi.blogspot.ru/2015/02/containers-10-about-patterns-and-mixins.html
Там вот странный текст:
Let’s look at the definition: In object-oriented programming languages, a mixin is a class that contains a combination of methods from other classes. How such a combination is done depends on the language, but it is not by inheritance.[citation needed] If a combination contains all methods of combined classes, it is equivalent tomultiple inheritance. Mixins encourage code reuse and can be used to avoid the inheritance ambiguity that multiple inheritance can cause [1] (the "diamond problem"), or to work around lack of support for multiple inheritance in a language. A mixin can also be viewed as an interface with implemented methods. When a class includes a mixin, the class implements the interface and includes, rather than inherits, all the mixin's attributes (fields, properties) and methods. They become part of the class during compilation.[citation needed] A mixin can defer definition and binding of methods untilruntime,[citation needed] though attributes and instantiation parameters are still defined at compile time. This differs from the most widely used approach (which originated in the programming language Simula) of defining all attributes, methods and initialization at compile time.
-
Это определение просто скопировано из википедии.
-
Перевести его с русского?
-
так а в чем вопрос вообще ?
-
reporter Вопрос в оформлении цитаты. Я же написал. Ну откройте статью. И посмотрите. [citation needed] - это мусор какой-то.
А переводить ничего не надо. Просто мусор убрать. И оформление поправить.
-
- changed status to resolved
сделано
- Log in to comment
тут бы ссылочку, и это всё таки наверно на Наташу.