The code and fix model probably is the most frequently used development methodology in software engineering. It starts with little or no initial planning. You immediately start developing, fixing problems as they occur, until the project is complete.
Code and fix is a tempting choice when you are faced with a tight development schedule because you begin developing code right away and see immediate results.
Unfortunately, if you find major architectural problems late in the process, you usually have to rewrite large parts of the application. Alternative development models can help you catch these problems in the early concept stages, when making changes is easier and less expensive.
The code and fix model is appropriate only for small projects that are not intended to serve as the basis for future development.