I am at first positive on this change. There is at least two mainstream languages that use True and False: Haskell and Python. Although I am not sure the warning will be really helpful at large, I don't think we would lose anything as it is quite unlikely someone has a module named True (or False). So it seems like a net benefit.
What are other people thoughts? On Saturday, August 13, 2016, miwee <[email protected]> wrote: > I recently got bitten by this. I used True/False, thinking them as boolean > values true/false. Got no warning, but code failed. Partly reason is that I > was recently alternating between python and Elixir code base. Python uses > True/False. May be a gentle reminder from elixir compiler, on usage of > True/False could have saved me from this. > > thanks > miwee > > -- > 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/ms > gid/elixir-lang-core/df1d6c68-6303-41f3-83d8-1dc4b1ed2121% > 40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/df1d6c68-6303-41f3-83d8-1dc4b1ed2121%40googlegroups.com?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/CAGnRm4LuUbQczRk%3DYc0Mx18oci1cZzSdqPKWfTKG8%3D_WqF7dsw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
