Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What class name should I use for an Adapter Pattern adaptor?

Tags:

naming

adapter

Let's assume I've got a class SomethingDAO which I need to adapt to an interface SomethingProvider.

What should I call the adapter class?

like image 423
Roger C S Wernersson Avatar asked Dec 09 '11 12:12

Roger C S Wernersson


1 Answers

SomethingDaoToProviderAdapter or SomethingProviderToDaoAdapter seems clear to me and I would suggest this.

like image 59
belgther Avatar answered Oct 04 '22 22:10

belgther