Design and Refectoring Flashcards

1
Q

What is classic design inspired by?

A

Classic engineering: Do an exhaustive design specification

Big design up front

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the goal per iteration for an agile system?

A

Incrementally build up a design of the system

Per iteration, analyse what is needed and then design it. Add to previous design

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What agile methodologies actively talk about incremental design?

A

XP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is refactoring?

A

The process of changing a software system in such a way that it does not alter the behaviour of the code, yet improves its internal structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a ‘Code smell’

A

Things that make a developer want to change some code:

Poor readability
Large functions
High number of nested if statements
Classes that are too highly coupled
- (Rely on each other too much)

And many more

How well did you know this?
1
Not at all
2
3
4
5
Perfectly