Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: (Perl) Programming Books like the Camel Book

by amarquis (Curate)
on Jul 30, 2007 at 16:40 UTC ( #629611=note: print w/ replies, xml ) Need Help??


in reply to Re: (Perl) Programming Books like the Camel Book
in thread (Perl) Programming Books like the Camel Book

I was skeptical at first, because I usually don't like "This is how you should do it" books. I just read the sample chapter at O'Reilly, though, and it looks to be full of good guidelines. I think I'll be picking it up.

Thanks!


Comment on Re^2: (Perl) Programming Books like the Camel Book
Re^3: (Perl) Programming Books like the Camel Book
by Argel (Prior) on Jul 30, 2007 at 18:43 UTC
    One of the things I really like about PBP is TheDamian will usually present you with some code and then in an "oh by the way" fashion point out the bug that you probably missed while looking over that code*. It's easy to say if you do X these are the pitfalls but to show a brief, good example of broken code made for a very compelling reason to follow his recommendations. And I actually learned a lot about Perl from that book. It's definitely one of the best Perl books out there.

    (*) He then shows code that follows his recommendation.

Re^3: (Perl) Programming Books like the Camel Book
by eyepopslikeamosquito (Canon) on Jul 30, 2007 at 21:45 UTC
Re^3: (Perl) Programming Books like the Camel Book
by tinita (Parson) on Jul 31, 2007 at 11:29 UTC
    because I usually don't like "This is how you should do it" books.

    this is such a common misconception about PBP. only people who haven't read it say it's a book that tells you how to code. it doesn't. read the foreword. it's important.

    the book's more like "well, very probably this is the way you should do it, because ... if you do it in another way, you are free to do, the important thing is that you thought about it."

      That comment was just my knee-jerk from seeing the title. Having read the sample chapter up, I found it to be exactly like you describe. I especially liked the examples of the troubles you can get yourself into. It is one thing to say "Do it like this because X," but having the "If you do it that why Y and Z can happen" drives the point home well.

      I feel like after reading it I'll definitely remember the advice while I'm coding, and if I'm not following the advice at least I'll know where issues can pop up.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2014-08-31 00:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls