[Cuis-dev] [Preference] Category as domain name

Hilaire Fernandes hilaire at drgeo.eu
Wed Jun 22 11:09:07 PDT 2022


Hi Luciano,

ok got it. I think I was confused with the name PreferenceDictionary and 
my recent errant involvment. What about a name among :

  * PreferenceDomain
  * PreferenceApp
  * PreferenceSet
  * other idea?

I will work on some design with two classes

Hilaire

Le 21/06/2022 à 19:32, Luciano Notarfrancesco via Cuis-dev a écrit :
> Hi Hilaire,
> I’m not sure if we should rename PreferenceNG to PrefernceDictionary, 
> or if it’s best to keep it. If you get rid of the PrefernceNG class 
> you’d have to implement PreferenceDictionary with multiple instance 
> variables with dictionaries to hold preference types, names, values 
> and categories, or a single dictionary with arrays {name. type. 
> category. value}, etc… there are several possibilities for the 
> implementation if you do this. On the other hand, if you keep 
> PreferenceNG and create a new class PreferenceDictionary, the 
> PreferenceDictionary can have a single instance variable (say 
> ‘contents’ for example) with a dictionary name -> aPreferenceNG, and 
> you would only need to move the class-side methods from PreferenceNG 
> to the instance side of PreferenceDictionary.
>
-- 
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220622/69531479/attachment.htm>


More information about the Cuis-dev mailing list