Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^3: Universal test flag

by zwon (Monsignor)
on Jul 17, 2012 at 18:25 UTC ( #982308=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Universal test flag
in thread Universal test flag

Refactoring to make code perfectly testable is not always an option, in fact, it rarely is, at least in large projects

The purpose of refactoring is to make code structure optimal, testability is just a side effect. And it is especially important for large projects, without maintaining code structure you will soon finish with spaghetti which will take years to unravel. Particularly, if you have classes which do hundred things and send SMSes, it does sound alarming.

Comment on Re^3: Universal test flag

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (14)
As of 2015-10-13 18:39 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (312 votes), past polls