Implementation
Review
• Questions?• Draft of design document on F• Brief 3-5 minute work update on F (will
continue except for mid-term)• Design– What are some of the factors you have to
decide on when designing a project?– Are these factors reliant on the client?– Where is the design document used in the
software process?
Implementation
Start
• Have description of system and how to build it…
• Resources– Documents– People who wrote the documents– Computers– Redbull?
• How would you build the system with a team of people?
Implementation
Environment
• Physical– Individual / team
• Coding– IDE– Compilers– Process of write, compile, run or write,
upload, view
Implementation
For me
• 4 terminal windows – 2 with code– 1 for building– 1 for running
• Doesn’t work for everything– iPod applications
Implementation
Issues
• When you have a team of developers…–What are some of the issues that might
come up during the implementation phase?
Implementation
Style
• Seemingly minor point• Can cause major issues• Decide what your team’s style is– Indent with tabs or spaces– Does the { go after the if or on the next line?– Variable naming convention– Global variables– Function length
• Usually spelled out
Implementation
Comments
• What are they?• What are they useful for?• How should the be used in
implementation?• Is one style better than another?
Implementation
Comments
• Life-blood of a successful project• Tie-in– Requirements– Design document– Testing…
• Code should have multiple sources of documentation– In-line, design, user manual
Implementation
Comments
• Bare minimum– Describe what the code does– Describe what is required to use this
code– Give examples of how to use this code– Provide test cases and expected output
Implementation
Word of caution
• We typically love clever solutions• Don’t’ come up with a clever / cryptic
naming system• KISS• Multiple people are working on a
system– Simple is better
Implementation
Testing
• Should you write test cases (paper or actual code) for your project before you actually write the code?
• Benefits• Downsides
Implementation
Errors / warnings
• Are warnings acceptable?• How are errors reported?– Allow java runtime errors to handle it– Blank page– Try/catch statements + Console output– Pop-ups