Docsity

Object-Oriented Design: CSSE 120 Project Kick-off at Rose Hulman Institute of Technology, Study Guides, Projects, Research of Software Engineering

Partial preview of the text

Download Object-Oriented Design: CSSE 120 Project Kick-off at Rose Hulman Institute of Technology and more Study Guides, Projects, Research Software Engineering in PDF only on Docsity!

OBJECT-ORIENTED DESIGN,PROJECT KICK-OFF CSSE 120—Rose Hulman Institute of Technology

Software Design 

A process of breaking a problem down intomanageable pieces—

components

 Components interact to solve the problem  Every component provides services through interfaces  Other components, called clients

use these services 

The components are

abstractions

 They hide irrelevant details from clients  They can be independently developed and improved 

Components provide

separation of concerns

Top-down vs. object-orienteddesign

Top-down Design Object-orientedDesign Abstractionmechanism (Whatsort of thing are thecomponents?) Interface(How do clientsinteract with othercomponents?) Functions Objects Formalparameters, returnvalues Accessor andmutator methods (with formalparams, return vals)

"If we can

break a

large

problem into a set of

cooperating

classes

, we drastically

reduce the

complexity

that must be considered

to understand

any

given

part of the program

Zelle writes:

emphasis added

OO Design Process 

Within classes, uses top-down design for refinemethods^ 

Break complex methods down into calls to helpermethods  Sometimes need to add methods to other classes 

Work iteratively^ 

Add methods, design new classes, change existingclasses 

Experiment!



Keep it simple!

OOD Case Study: Forest FireWatch demo, then read problem statement

Project Kickoff

Taken from http://www.socialfiction.org

Getting Started with Tetris 

Instructor will announce project teams



Get together with teammates and work on thefollowing:^ 

Exchange contact information:^  Email, cell phones, preferred meeting times and places  Begin object-oriented design of Tetris^  On ANGEL: Lessons  Project  Instructions  OOD sketches due next meeting