Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^3: Perl best practices fanatism

by sh1tn (Priest)
on Dec 09, 2007 at 17:56 UTC ( [id://655974]=note: print w/replies, xml ) Need Help??

in reply to Re^2: Perl best practices fanatism
in thread Perl best practices fanatism

The book looks like the most prominent Java books - do this, do that. The main question IMHO is why and not how.

Replies are listed 'Best First'.
Re^4: Perl best practices fanatism
by polettix (Vicar) on Dec 09, 2007 at 19:11 UTC
    I'm wondering if we actually read the same book. While there are many points where I decided not to follow PBP advices (e.g. Contextual::Return seems too clever dark magic IMHO), I always found that TheDamian clearly explained the why under the suggestion. Otherwise, I think that his 256 suggestions would have fit into some 20 pages, more or less.

    perl -ple'$_=reverse' <<<ti.xittelop@oivalf

    Io ho capito... ma tu che hai detto?
      I'm glad you liked the book. I just don't like the army style.

        I just don't like the army style.
        could it be that you skipped the foreword? or that you are confusing it with a different book?
        or maybe there are two different versions out there...
Re^4: Perl best practices fanatism
by amarquis (Curate) on Dec 10, 2007 at 15:38 UTC

    That's why I originally avoided the book, my opinion based only on the title. I later picked it up based on monk recommendations, and it turned out to be much better than I expected.

    It wasn't do this, do that; It was "most do this, here's why. This is contentious, and some people do that, it's important to make a choice and be consistent." I don't follow everything in PBP, but I learned a fair amount from it and it make me examine my own practices.

Re^4: Perl best practices fanatism
by Anonymous Monk on Dec 07, 2011 at 16:53 UTC
    But isn't that a lot of the actual value of this book? That it does indeed present the arguments why something should be done in a particular way? And that these arguments allow you to check if they do apply to your own problems.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://655974]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-07-13 18:36 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.