Re: why moose

2017-04-24 Thread Илья Рассадин
Quote from amazing ModernPerl book http://modernperlbooks.com/ "Perl's default object system is minimal but flexible. Its syntax is a little clunky, and it exposes /how/ an object system works. You can build great things on top of it, but it doesn't give you what many other languages do by def

Re: why moose

2017-04-24 Thread Chas. Owens
The main benefits I see are 1. You have to write less code 2. Roles provide the benefits of multiple inheritance without the insanity 3. Introspection of Moose classes is easier 4. Type safety (which is really just points 1 and 3 again) The biggest one is 1. Moose is basically a declarative langu

why moose

2017-04-24 Thread Peng Yonghua
Hi, I saw many modules begin to write with Moose. For me I wrote my perl modules most time with OO style, I think perl's native OO works just fine. So why needs moose? thanks. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org h