I think for the reasons given, especially ability to easily integrate
it with exceptions, ecto or any other code that internally defines
structs.

As for the name, I don't have a strong opinion. I can see how required
can be confusing in the sense that nil is a valid value - it can be
reasonably expected that required does not allow for nil.

2016-05-25 18:25 GMT+02:00 Paul Schoenfelder <[email protected]>:
> Given the context I'm not sure `require` is all that confusing personally.
> It seems familiar and very clear. +1 from me.
>
> Paul
>
> On Wed, May 25, 2016 at 11:07 AM, Chris McGrath <[email protected]> wrote:
>>
>>
>> On 25 May 2016, at 16:58, José Valim <[email protected]>
>> wrote:
>>
>> That's a very good point. I believe :require is better than :required
>> (thanks for that) but I still believe the require/required connotation can
>> be confusing. Also require may be a bit overloaded in Elixir (given the
>> require special form and Code.require_file). Can you think of other options?
>> :)
>>
>>
>> I had a quick look in the OS X Thesaurus and these stood out for me.
>>
>> compulsory
>> essential
>> need
>>
>> Chris
>>
>> --
>> 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/C87C5A29-BB52-454D-8CAF-6534F34310B7%40chrismcg.com.
>>
>> 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/CAK%3D%2B-TsErYwW3z9L7zeFtmEmqEkgaz-VYUeskt%2BKDSK%2BuZDtbg%40mail.gmail.com.
>
> 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/CAGAFNp%3D%2Bm%3DT9YVcvah1Kx0Yvbibu__LUaQw-On4HE84Vw0-P4A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to