[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Library defaults

From: Lars Ingebrigtsen
Subject: Re: Library defaults
Date: Tue, 24 Jan 2017 19:08:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Davis Herring <address@hidden> writes:

>> So it's really: Make the defaults developer-friendly or source code
>> friendly?  Because all calls from applications will end up looking like
>> (with-url ("http..." :cookies t
>>                      :cache t
>>                      :verbose 0)
>>    ...)
>> And that's kinda sad, too.
> No, they should end up looking like
> (with-url ("http..." :cookies client4--cookies
>                      :cache client4--cache)
>   ...)

Yes, major applications would look like that.  (Or really -- eww would
implement a function that would bar "third party cookies" etc according
to user settings.)

But not all clients are larger applications like that, and for those
choosing the wrong defaults would result in slightly sad-looking code.

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]