• Except if your initial code was first written for something slightly related to the current usecase and with a tenth of the current feature set.

    Then you better start from scratch and take some bits and pieces from your old code.