in reply to Re: Suggestions on Object Oriented helpers for 2017
in thread Suggestions on Object Oriented helpers for 2017

Thanks Your Mother. The more I'm reading, I'm liking Moo as well. Looks very compatible and a very well taken care of dist. I do however like the XS of Mouse::XS for my almost-only-C/XS modules, but I'll have to do some code reviews (and possibly benchmarking/profiling) to see whether the speed benefits of XS will outweigh me keeping everything standardized on a single choice.

To further, I'm still extremely happy with doing things the old way, so I'm looking for very basic functionality (like creating getters/setters) at this time, without the expansive capabilities I'm seeing with Moose. Not to say I won't start desiring such functionality moving forward, but I still like to stay as core perl in my code where possible, even if it's just so I understand in three years what I was thinking, without having to read external docs to understand bits and pieces.

update: yeah, Moo seems to be acceptable at load-up times, which for most of my purposes, that's acceptable even if it does cost a few clock ticks. Not only that, the docs are clear (the SYNOPSIS is copy/pastable), and it takes minutes to rewrite existing code to use it. I am already liking the isa feature... write a single sub definition instead of doing the whole defined ? ... : ...; kind of cruft myself. It was already installed on most of my *brew installations due to other dists I've installed, so it's likely to be already installed on the systems I'm targeting my dists at anyhow. /update

Replies are listed 'Best First'.
Re^3: Suggestions on Object Oriented helpers for 2017
by Your Mother (Archbishop) on Feb 04, 2017 at 01:37 UTC

      These are fantastic, and because I've posed this as a question on Perlmonks, I will do what I can to produce a Benchmark on all suggestions stated on a reasonably non-basic example once this thread fades away, and I get a chance to look at each suggestion.