Thursday, March 3, 2016

Software Approach, Top Down Design

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



No comments:

Post a Comment