This has "always" bothered me...
Let's say I have an interface IFiddle
and another interface that does nothing more than aggregate several distinct IFiddle
s:
public interface IFiddleFrobbler
{
IFiddle Superior { get; }
IFiddle Better { get; }
IFiddle Ordinary { get; }
IFiddle Worse { get; }
IFiddle Crackpot { get; }
}
(The concrete IFiddleFrobbler
s and IFiddle
s depend on configurations and are created by a factory.)
I repeatedly stumble on the naming of such "umbrella" types - I want to exchange the "Frobbler" with something descriptive.
Please, enlighten me, what's a good naming scheme for my "umbrella" types?
Edit: As xtofl pointed out in a comment, there's actually more semantics to this than I first exposed above. If I instead do the following, I think my need is clearer:
//
// Used for places where the font width might need
// to be tapered for a rendered text to fit.
//
public interface ITaperableFont
{
Font Font { get; }
Boolean CanTaper { get; }
void Taper();
}
//
// Used for rendering a simple marked-up text in
// a restricted area.
//
public interface ITaperableFonts
{
ITaperableFont Biggest{ get; }
ITaperableFont Big { get; }
ITaperableFont Normal { get; }
ITaperableFont Small { get; }
ITaperableFont Smallest { get; }
}
In fact, I've identified my problem in the real-life addition above as a design flaw, not a naming problem, the smell of which several people has pointed out below.
Umbrella excels at grappler and trap-based gameplay, rewarding players with long, damaging combos if they can plan ahead and make careful use of her bubbles, puddles, and Hungern's monstrous appetite. Although she has many offensive options, Umbrella is very slow on her feet.
The 43 children are super powered beings born on the 12th hour on the first day of October 1989, all born from women who were not pregnant when the day began. Only 14 of these 43 children are currently known. In the original timeline, seven of these children were adopted by Sir Reginald Hargreeves.
Can you just use the plural: IFiddles
?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With