Object Oriented anti patterns Flashcards

1
Q

Anemic Domain model

A

The use of the domain model without any business logic. The domain model’s objects cannot guarantee their correctness at any moment, because their validation and mutation logic is placed somewhere outside (most likely in multiple places). Martin Fowler considers this to be an anti-pattern, but some disagree that it is always an anti-pattern

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

Constant interface

A

Using interfaces to define constants

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

Circular dependency

A

Introducing unnecessary direct or indirect mutual dependencies between objects or software modules

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

God object

A

Concentrating too many functions in a single part of the design (class)

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

Sequential coupling

A

A class that requires its methods to be called in a particular order

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