toad wrote:
> On Tue, Oct 31, 2006 at 01:09:39PM -0600, David Sowder (Zothar) wrote:
>   
>> toad wrote:
>>     
>>> Why should a client care about WithDefaults ?
>>>   
>>>       
>> This way the client knows what all the settings are set to without
>> having to know anything special about Fred's current thoughts on what
>> the defaults are.
>>     
>
> Sure, so always show all of them?
>   
Could;  I guess the idea is that you can also get an exact copy of
freenet.ini as well.
>>> Also, clients should set one or two settings to change, not the whole
>>> lot; there may be other changes going on in parallel.
>>>   
>>>       
>> I believe the approach I used will set anywhere from one to all of the
>> settings at once, depending on the needs of the client.  I tested it by
>> changing my node's name without providing any other items.
>>     
>
> Hmmm. So it will. Cool.
>
> The client also needs to be able to get the defaults, short and long
> descriptions, whether a setting is expert etc, although the existing
> code provides for the needs of most clients.
>   
I haven't quite sorted how I want to do the defaults, short/long
descriptions.  Feel free to comment/hack.

Including the defaults would probably make withDefaults useless though... :)


Reply via email to