On 21 Feb 2017, 20:10 +0100, Louis Pilfold <[email protected]>, wrote:

> Hello!
>
> Very interesting. It does seem like this would be easier to learn :)
>
> Little nitpick: I find the name child_spec/1 a little confusing. I would 
> expect it to be the spec of the children of a supervisor defined by the 
> module, due to the word "child".
>
>     MySup.child_spec([])
>     #=> spec of child of MySup
>
>     MySup.spec([])
>     #=> spec of MySup
>
> Perhaps I just feel this way because of familiarity with the current system.
>
> Cheers,
> Louis
>

It's worth noting that the "child_spec" is already used in many places - 
cowboy, db_connection, poolboy (and probably more) all define a child_spec 
function.

Michał.

-- 
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/e5f11009-d392-4754-84a1-42b4b3e6a1f2%40Spark.
For more options, visit https://groups.google.com/d/optout.

Reply via email to