+1 Greg. Totally agree. To quote the old saw--too much of a good thing is
not a good thing.
On Thursday, May 19, 2016 at 5:58:38 PM UTC-4, Greg Vaughn wrote:
>
> I love the pipe operator. I really do. However, I worry that some people
> are overusing it. What's wrong with this?:
>
> def return_first(id_list) do
> {:ok, List.first!(id_list)}
> end
>
> I really don't see put_ok/1 and put_error/1 being worth putting in std
> lib. I don't want to encourage over-use of the pipe operator.
>
>
--
You received this message because you are subscribed to the Google Groups
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elixir-lang-core/370455c1-4419-4b49-9434-296e2eadcfcc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.