Design Patterns · Middle · Question 67 of 75

What is "speculative generality"?

Explanation

Unused flexibility costs reading and maintenance time. Add it when a real second use case appears (YAGNI).

Further reading

Problem with a question

Design Patterns · Middle · question 67

Test yourself

Take the Design Patterns · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz