YAPC::2004::Israel << Previous | Index | Next >> Copyright © 2004 Gaal Yahas

Refactoring example


  • Large ugly function that processes a job

    • 500 lines of code, convoluted logic

    • accepts twelve parameters via @_

    • 88 local variables(!)

continued...