# Alternative Classes with Different Interfaces

> Classes that do the same thing but have different interfaces.

- **Category**: Code Smells
- **Subcategory**: Object-Orientation Abusers
- **Canonical URL**: https://designpattern.fyi/patterns/alternative-classes/

---

## Description
'**Intent**: Identify classes that perform similar functions but have different method names or signatures.

**Context**: You have multiple classes that essentially do the same thing but use different method names or interfaces, making them inconsistent to use.

**Solution**: Unify the interfaces by renaming methods or extracting a common interface.'



## Use Cases
Use when similar classes have inconsistent interfaces.









---
**Reference**: [Original Source](https://refactoring.guru/smells/alternative-classes-with-different-interfaces)

