We don't bite newbies here... much | |
PerlMonks |
Re^2: Game related OO design questionby blindluke (Hermit) |
on Nov 28, 2014 at 10:38 UTC ( [id://1108633]=note: print w/replies, xml ) | Need Help?? |
This is excellent advice. And exactly what I was looking for - especially the design of the Attack class (and the idea to make it its own class, which eluded me completely). Thank you. Moops looks excellent indeed, and you are right that when syntactic sugar makes subclassing so cheap, it's no point not to use it. Still, if I could ask you one more question, I'm very curious about those words: Also, please don't use Moos for anything serious. I'm an officially listed as a co-author of it, so I'm entitled to say that. ;-) Could you elaborate on that a bit? What's wrong with Moos? Thanks again. And good luck with your book, I'm sure I'm not alone in waiting eagerly for its completion. - Luke
In Section
Seekers of Perl Wisdom
|
|