Lesson 6 Flashcards
(39 cards)
“Design is not just how it
looks and feels like.
Design is how it works”
Steve Jobs
Design is the ______ of an experience.
creation
It’s also the _______ of the said creation and how well it’s
organized.
process
On top of that, design is the _____, i.e. the things we see,
hear, and feel.
result
There is no definite meaning for design, but to summarize
it, Design is a ______________ in such a way as
best to ___________________
plan for arranging elements, accomplish a particular purpose
are typical solutions to
commonly occurring problems in software
design.
Design patterns
They are like _____________ that you
can customize to solve a recurring design
problem in your code.
pre-made blueprints
The pattern is not a specific piece of code,
but a __________ for solving a
particular problem.
general concept
_________ is a cooking recipe, where each
step is required to achieve a goal.
Algorithm
always defines a clear
set of actions that can achieve some goal,
Algorithm
is a more high-level description of a
solution.
pattern
Design pattern is a _______, where the
results are visible, but the implementation is
up to you.
blueprint
of the pattern briefly describes both the problem and
the solution.
Intent
further explains the problem and the solution the
pattern makes possible.
Motivation
of classes shows each part of the pattern and how
they are related.
Structure
in one of the popular programming languages
makes it easier to grasp the idea behind the pattern.
Code example
The most universal and high-level patterns are
_______________. Developers can
implement these patterns in virtually any
language.
architectural patterns
The most basic and low-level patterns are
often called ______. They usually apply only to
a single programming language.
idioms
provide object creation mechanisms that
increase flexibility and reuse of existing code.
Creational patterns
explain how to assemble objects and classes into
larger structures, while keeping the structures flexible and efficient.
Structural patterns
take care of effective communication and the
assignment of responsibilities between objects
Behavioral patterns
aren’t obscure, sophisticated concepts—quite
the opposite.
Design patterns
are typical solutions to common problems in object-
oriented design.
Patterns
The concept of patterns was first described by
Christopher Alexander in A Pattern Language:
Towns, Buildings, Construction.