Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: how to make close() fail

by BrowserUk (Pope)
on Sep 29, 2012 at 09:41 UTC ( #996361=note: print w/ replies, xml ) Need Help??


in reply to Re^2: how to make close() fail
in thread how to make close() fail

I know close can fail, but that wasn't my point.

How complicated can a failed-to-close code path be that you can't test it 'by inspection'?

And if it is complicated enough to warrant it, it probably indicates poor design.

More likely this is the triumph of a "100% code coverage" mandate over reason.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong


Comment on Re^3: how to make close() fail

Log In?
Username:
Password:

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

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

    The best computer themed movie is:











    Results (294 votes), past polls