Here are 5 steps to approaching and implementing a programming problem solution:

1. Understand the problem and create test cases

2. Think about how you, as a human, would solve the problem. Break your solution down into small, unambiguous steps in plain English. Write those steps in plain English as comments in the body of your main method

3. Identify logic structures, data types and structures, and functions (Have to know the structures and types!)

4. Code incrementally (based on specification)

5. Use correct formatting and proper naming

More detail

cs-142/approachtoprogramming.txt · Last modified: 2015/01/07 16:18 by ryancha
Back to top
CC Attribution-Share Alike 4.0 International = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0