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

The situation I'm currently in doesn't give me the opportunity to work with existing code. I'm doing nearly everything from scratch (except for using modules). While I've been reading and examining code from anywhere I can get my hands on; one of the things I lack is a peer I can go to who can help me identify the parts of my code that while functional could be written better. That is what I hope to get from perlmonks.org.
  • Comment on Re^2: Does bad code really teach you to write good code?

Replies are listed 'Best First'.
Re^3: Does bad code really teach you to write good code?
by dragonchild (Archbishop) on Jun 18, 2005 at 23:29 UTC
    If you have a test suite, then it doesn't matter how your code was written - you can always refactor it.

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?