[erlang-questions] [ANN] hackney 0.4.1 released

Thomas Allen thomas@REDACTED
Tue Jun 11 13:59:21 CEST 2013


Hi Benoit,

On Tue, Jun 11, 2013, at 12:27 AM, Benoit Chesneau wrote:
> The main reason I'm doing a parse transform is to not have to worry
> about adding a method or handling different cases, for example:
> 
>     hackney:get(URL)
> 
> but also:
> 
>     hackney:get(URL, Headers)
> 
> or:
> 
>     hackney:get(Url, Headers, Options)
> 
> 
> and do that for each method.

In that case, I'd think the macro approach is probably the least
error-prone and easiest to maintain.

Yours in bikeshedding,
Thomas



More information about the erlang-questions mailing list