1. Introduction

This section will cover some of the common methods used to actually write code.

One way of coding is to simply have an rough idea of what you want to do and then start typing away 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

There are more issues, but hopefully the list shows that it is best to have a methodical, professional approach to coding which this mini-web will cover


Challenge see if you can find out one extra fact on this topic that we haven't already told you

Click on this link: problem of spaghetti code






Copyright © www.teach-ict.com