O'Reilly logo
  • Randy Gill thinks this is interesting:

if doing interactive processing, display the error message interactively and declare success if doing command line processing, log the error message to the command line and declare success


Cover of Code Complete, Second Edition


Better to use template method, or strategy pattern