Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Hello World for module writers

by chromatic (Archbishop)
on Aug 31, 2012 at 01:25 UTC ( #990890=note: print w/replies, xml ) Need Help??

in reply to Hello World for module writers

The best example of SelfLoader is not to use it. It adds complexity for almost no benefit.

I don't know what Devel::SelfStepper or Devel::SelfStumper are.

Improve your skills with Modern Perl: the free book.

Replies are listed 'Best First'.
Re^2: Hello World for module writers (stumper)
by tye (Sage) on Aug 31, 2012 at 02:28 UTC

    I believe that SelfStepper and SelfStumper are two different mispelings of Devel::SelfStubber (which looks to be about as bad of an idea as any of the "delay compiling module code" "solutions").

    I'll also note that I expect Damian Conway to be rolling over in his gravebed with how his extensive efforts to discourage Perl Best Practices from being mindlessly used to arbitrarily enforce "standards" upon code has been translated into Perl::Critic which is being repeatedly used without first reviewing the rules and deciding which to adopt and then the reaction to a notice of a rule violation is repeatedly that people jump to a knee-jerk stampede away from the criticized practice without a demonstration of even understanding the reason for the rule and also paying no attention to how much worse the supposed solution is (since it doesn't trigger any objection from Perl::Critic).

    Perhaps the next edition of Perl Best Practices can declare that a relatively mindless application of Perl::Critic has clearly become a "worst practice" and this can then be mindlessly translated into a Perl::Critic rule that mindlessly rejects the use of Perl::Critic.

    That idea was created as a joke. But having a default Perl::Critic rule that yells at you for using Perl::Critic without having first evaluated the rules and selected which ones make sense in your environment, would actually be a better idea than a lot of Perl::Critic rules that I've run into so far by watching people run away from them into worse practices.

    - tye        

      You're never going to go broke underestimating the thoughtless application of advice to programming.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990890]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2018-04-23 04:05 GMT
Find Nodes?
    Voting Booth?