There's more than one way to do things | |
PerlMonks |
Re: Yet another Moose(not)by Arunbear (Prior) |
on Nov 12, 2016 at 16:54 UTC ( [id://1175793]=note: print w/replies, xml ) | Need Help?? |
Public attributes are a really bad idea because they result in tight coupling (e.g. see OOP: How to (not) lose Encapsulation). Likewise, inheritance results in tight coupling. Do you provide any alternatives to inheritance (if so can you show an example?) ?
In Section
Perl News
|
|