← BYTES
Design Patterns·Starter·Ref: 17.1.20
What does the term 'anti-pattern' generally refer to, as distinct from a design pattern?
Have a question about this video? Mention reference 17.1.20 when you contact us.
a.A design pattern that has been officially deprecated by the Gang of Four
b.Any design pattern that uses inheritance instead of composition
c.A pattern that can only be used in exactly one specific programming language
d.A commonly-recurring but genuinely counterproductive approach to a recurring problem -- one that seems like a reasonable solution but tends to create more problems than it solves (e.g., a 'God Object' holding too many unrelated responsibilities)
Where a design pattern documents a reusable, GOOD solution to a recurring problem, an anti-pattern documents a reusable but genuinely BAD/counterproductive one -- a commonly-seen approach that tends to create more problems (poor maintainability, tight coupling, fragility) than it solves, cataloged specifically so it can be recognized and avoided.
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES17120#DesignPatterns