> I also understand the issue with supervisors better now, and I see where
is the issue - but I think this affects both the original proposal and my
modified proposal in a similar way.

Right. The issue also exists in the current proposal for any parameter that
is passed via the child_spec. The trouble with your proposal is that the
only option is to pass parameters *via the child_spec*. While the original
proposal still allows customization via start_link.




*José Valim*
www.plataformatec.com.br
Skype: jv.ptec
Founder and Director of R&D

On Thu, Feb 23, 2017 at 10:41 AM, Michał Muskała <[email protected]> wrote:

> On 23 Feb 2017, 10:37 +0100, José Valim <[email protected]>,
> wrote:
>
> To be clear, I agree we would be able to remove start_link from *your
> codebase*. However, you can't remove it from Supervisor, GenServer and
> friends because there are many situations you would still need them (for
> example, to start a Supervisor in IEx that will allow you to start a given
> child_spec.
>
>
>
> Oh, yes. I think it's fine to keep start_link on the behaviours. My aim
> was to remove it from callback modules exclusively.
>
> I also understand the issue with supervisors better now, and I see where
> is the issue - but I think this affects both the original proposal and my
> modified proposal in a similar way.
>
> --
> 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/8446b09b-9a7d-43ed-a1fc-22db3626a448%40Spark
> <https://groups.google.com/d/msgid/elixir-lang-core/8446b09b-9a7d-43ed-a1fc-22db3626a448%40Spark?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAGnRm4Lfx%3DWrdJ6-yi0f16vuM2Tj7uRrotbFT_Oj0yXvAscDSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to