News for hackers. Stuff that matters.
Re:Show HN: Erlang REST framework by filmor on Wednesday November 15, 2017 @03:34AM (#15702328)
Erlang does not support currying, so having the subject in the last arg does not help much.

Also, the actual ordering is not `func(Args..., Subject)` but instead `func(Args..., Subject, OptionalArgs...)` which bit me more than once.

I like Elixir's consistent use of the first arg for the subject along with the pipe operator, which gives you essentially currying-like behaviour in the first argument.

There are no comments on this comment yet.