Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Design. What is Design? Blueprint of your solution Blueprint of your solution All decisions you have made about solution? All decisions.

Similar presentations


Presentation on theme: "Introduction to Design. What is Design? Blueprint of your solution Blueprint of your solution All decisions you have made about solution? All decisions."— Presentation transcript:

1 Introduction to Design

2 What is Design? Blueprint of your solution Blueprint of your solution All decisions you have made about solution? All decisions you have made about solution? Representations Representations Source Code Source Code Comments Comments Pictures, Figures & Text Pictures, Figures & Text Instructor: G. Rudolph, Summer 20082

3 Instructor: G. Rudolph, Summer 20133 Where should I be? Completed Sumobot [Example] Mechanical Model with modifications Code should control the drive motors smoothly, light sensor detects boundaries, Ultrasonic sensor detects opponent

4 Instructor: G. Rudolph, Summer 20134 Where should I be? “To Be Completed” (90%) Clean up code Comments in code Document Hardware Design Software Design

5 Instructor: G. Rudolph, Summer 20135 Code Cleanup May have borrowed code and modified it Now we have to “make it ours” Show that we understand it Make sure everything is clear Want the code to match our design, whether or not the design is Documented, or In our heads

6 Instructor: G. Rudolph, Summer 20136 Code Cleanup Make sure Object, Method, and variable names match our application Add/ Update Comments to match our application & style Compile and run periodically to make sure everything still works Remove any commented blocks of code Remove unused code Variables, methods, objects

7 Instructor: G. Rudolph, Summer 20137 Comments Enough that you can remember what it is you were doing and thinking, if you had to maintain the code 6 months from now Comments for Class Each method Variables Lines of code as needed

8 Instructor: G. Rudolph, Summer 20138 Hardware Design Assume the reader (me) has access to the Lego Set and the model books Describe what you added or changed Assemblies may be difficult to put into words without the aid of pictures Do your best Assume you can show them the parts you are using

9 Instructor: G. Rudolph, Summer 20139 Software Design 3 things to show 1.Objects 2.Their INTERESTING interrelationships 3.Their behaviors

10 Instructor: G. Rudolph, Summer 201310 Where is the Design? Comments in code are closest to the code Pictures (or equivalent models) can Give “the big picture” Help communicate important details in ways that are difficult to see from code


Download ppt "Introduction to Design. What is Design? Blueprint of your solution Blueprint of your solution All decisions you have made about solution? All decisions."

Similar presentations


Ads by Google