Ayende @ Rahien

Unnatural acts on source code

Ayende.WTF?!


I have a confession to make, I just finished writing a method with 28 local parameters.
After refactoring, it turned out to be five methods and the main one only has "only" 8 local variables, whew.

Comments

Mike
08/12/2007 05:41 PM by
Mike

So did you just keep adding parameters until it worked and then looked back in surprise? Or did you plan for refactoring before you started?

Ayende Rahien
08/12/2007 09:38 PM by
Ayende Rahien

Mike, that was full speed ahead and damn the torpedo's, just make it work already mode

Pawel Pabich
08/12/2007 10:02 PM by
Pawel Pabich

That's brilliant. At the end of the day the only thing that matters is that you managed to keep it simple :)

Comments have been closed on this topic.