+1
Adapter Pseudo code - peg.radius()
https://refactoring.guru/design-patterns/adapter
class RoundHole is constructor RoundHole(radius) { ... } method getRadius() is // Return the radius of the hole. method fits(peg: RoundPeg) is return this.getRadius() >= peg.radius()
Shouldn't peg.radius() be peg.getRadius()?
Service d'assistance aux clients par UserEcho