I am looking for a word to use in a class name (programming).
To make the example more meaningful in this community, let's say this is about language translating.
Let's say there is one class that is called EnglishToFrench, which can translate from English to French, and another class EnglishFromFrench (or FrenchToEnglish), which can translate from French to English.
Now I want to create a new class that can translate in both directions.
The best I can come up with so far is EnglishVsFrench. But this is not really it.
Is there anything closer to what I am looking for? Ideally something short and catchy..
Notes:
- I think in my native language (German) there is no such preposition.
- The real use case is something like type casting, so StringToObject, ObjectToString, String?Object. But don't spend too much thought on this.
DE
,JP
, etc. into the mix?). In which case the class/method name would simply beTranslate
. Your source and/or target language would then be either arguments or type arguments (if using something like generics) - depending on your design and implementation, and taking the possibility of auto-detection of the source into account.