Click here to Skip to main content
15,908,909 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
A lot of discussion has been made over their use but I just want to know the generally accepted practice.

I have written a dictionary class, it takes commands their methods as strings and a class, then maps the strings to the methods of the class.

I anticipate that in the future, either myself or others may wish to use this to create other dictionaries. Therefore I wish to make it as versatile as possible.

Usage:
Should I use abstraction and provide a blank interface for others to abstract?
Should I use an interface with a class, leaving abstraction to others?

Naming:
Should I prefix interfaces with I and abstract classes with Abstract or A?

IDictionary
AbstractCommandDictionary
CommandDictionary

What I have tried:

Currently have the interface/class design
Posted
Updated 9-Jun-16 21:11pm
v2

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900