NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Feedback (Score:2)
Well if you have the time anyway
Re:Feedback (Score:1)
I'm not sure I could really say specifically what it was. I think part of it was the lines in new() that assign to $self's defaults. There are four pairs of lines that are very similar, which always makes me uncomfortable, especially if I'm just skimming. That occurs again in _get_data. I think that was probably the brunt of it.
I didn't spend a lot of time making this decision.
I think there are definitely ways in which MTS is cleaner than MS was, and in some ways MS is going to have to remain weird inside for a while, until MS::Simple can be rewritten a little.
Anyway, as to the repeated similarity thing, do you see what I mean? In working on some things in code left behind here, by a coworker, I saw the same thing a few times, and every time it correctly signalled refactorability. I'm not sure if that's the case in MTS, but that's part of what jarred me.
rjbs
Reply to This
Parent
Re:Feedback (Score:2)
I need to get the installation proces going correctly. When this part works I would consider MTS to have met the initial goals.
After this a refactoring is will probably be a good thing.
Thanks for the great feedback...