One way of coding is to simply have a rough idea of what you want to do and then start typing a way to produce one huge source file.
This is a very bad idea.
The resulting code is likely to have many issues with it that include
- Poorly documented code, so very hard to maintain and update
- "Spaghetti code" which means a tangled mess of jumps and loops all over the code, very hard for someone to understand. Even by the original coder a few days later.
- Duplication of code, so wasting memory and running speed
- Very hard to develop by more than one person as there is only one file
- Very hard to debug - the file either works or it doesn't
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJreDBG5H7EzHaW-i1NPEC_kKQxEDxVf1a13JeXxDp2zPIhusWedKtYFH3YVjmDCuDYKp4y3qwrKE7wnMymgYc5icgze6EiKgxR5cTn7DMh9xRM8s0_nULpjjxnq6mipkkpqNUSODvdfsl/s640/topdowndesign.jpg)
No comments:
Post a Comment