Skip to main content

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 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 originial 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 of it doesn't


Comments

Popular posts from this blog

Fundamentals of Computer Architecture

Our computer always responds to electricity We choose binary number system (our power button) Of/On (2 states) 0: bit 1: bit Combination of 8 bits: byte  ex. Mega byte Byte: Unit of memory Every symbol on the keyboard: character  A; a to Z; z; all numbers...etc. Each character is represented by a combination of bits (1 byte) ex. 01000100 Based on code, alphabet shows up Compiler Translates the entire source code into binary Takes in code Points out errors When it is correct, it converts the source code into machine language/binary code/binary language/object code  Interpreter   Translates line by line Easier to find mistake in some situations (Has same features as compiler) Source Code (Java, C++) ---> Compiler/Interpreter ---> Object Code (binary: 01001111)  "My source code is not compiling/interpreting"  ______________________________________________________________ Systems programs that helps us to...

Points to Consider for Presentation

Some points I would consider to keep my audience engaged during the Presentation. Concise slides  Bullet points Topics which concern a general audience Ask questions to the audience Sound interested and excited Start with simple ideas Introduce unique fun facts Appropriate font size for audience Add some humor Powerful images Articulate, project, and vary tone while speaking Add personal stories Audience will connect and believe in you Know information  Don't read off slides