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

Re: Reasons for looking at your favourite module's source

by tilly (Archbishop)
on Sep 17, 2003 at 05:54 UTC ( #292060=note: print w/replies, xml ) Need Help??

in reply to Reasons for looking at your favourite module's source

Another pro is that the core code can always use more review. There are bugs, and sometimes they are surprisingly findable.

For instance Ovid also wrote use CGI or die;, which includes among the benefits of that hand-rolled solutions don't tend to test $ENV{CONTENT-LENGTH} to catch aborted downloads. Well it was by reading the source-code that I found that a hard-to-debug problem happened because didn't either on a regular POST. (Only on a multi-part post.)

And even if you don't find any bugs in reviewing a bunch of that code, you will get insight into ways that very smart people who you have never met think. This is never a bad thing (even if the state of the art has progressed).

For a possible, if anyone wants to read Code Reading: The Open Source Perspective and get back on how it is, I would be interesting. I would have read it, but I have been busy learning stuff (eg Oracle) for a new job...

  • Comment on Re: Reasons for looking at your favourite module's source

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2018-06-23 18:51 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.