Dear monks,
I wrote for my current client some code that looks like this:
Should I let my pride prevail and leave the code as it is, our should I be merciful to the maintainer and refactor it to something more readable to the non-initiated?
Max
I wrote for my current client some code that looks like this:
I like it a lot (I know, I could even leave out the "return"). However, in a few months I'll be off to new challenges and I will have to leave this code to be maintained by somebody else.sub MySub { ...some stuff... return map split(/ /,$_,2), map uc, @somearray; }
Should I let my pride prevail and leave the code as it is, our should I be merciful to the maintainer and refactor it to something more readable to the non-initiated?
Max
Back to
Meditations