in reply to Does bad code really teach you to write good code?

Good decisions come from experience. Experience comes from bad decisions. But you need to know they're bad. If you're writing bad code, but think it's good code, you won't learn from it. So, I'd say it takes practice maintaining bad code to know how to write good code. :-)

  • Comment on Re: Does bad code really teach you to write good code?

Replies are listed 'Best First'.
Re^2: Does bad code really teach you to write good code?
by adrianh (Chancellor) on Jun 17, 2005 at 20:24 UTC
    I'd say it takes practice maintaining bad code to know how to write good code.

    Seconded. One of the best ways I have of learning how not to do something is having to fix other peoples mistakes (even if the other person was you twelve months ago :-)