Name : perl-mixin
| |
Version : 0.80.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2024-08-06 23:23:51
|
Group : Unspecified
| Source RPM : perl-mixin-0.80.0-lp155.1.1.src.rpm
|
Size : 0.04 MB
| |
Packager : https://www_suse_com/
| |
Summary : Mix-in inheritance, an alternative to multiple inheritance
|
Description :
*NOTE* You probably want to look into the similar but superior concept of traits/roles instead. See \"SEE ALSO\" for suggested modules.
Mixin inheritance is an alternative to the usual multiple-inheritance and solves the problem of knowing which parent will be called. It also solves a number of tricky problems like diamond inheritence.
The idea is to solve the same sets of problems which MI solves without the problems of MI. For all practical purposes you can think of a mixin as multiple inheritance without the actual inheritance.
Mixins are a band-aid for the problems of MI. A better solution is to use traits (called \"Roles\" in Perl 6), which are like mixins on steroids. Class::Trait implements this.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/15.5/noarch |