> On 24 Aug 2016, at 15:24, Elliot Crosby-McCullough <elliot...@gmail.com> > wrote: > > Follow-up question; there's debate in Ruby as to whether methods ending in > `?` are supposed to return actual booleans or just "truthy" and "falsy" > values. > > Is there a similar debate in Elixir or has it been more strictly defined?
I've heard José state, that if it were possible, it would be an error for a ? function to return a non-boolean. I am equally of conviction that only strictly boolean values make sense in this context. Michał. -- You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-talk+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/DE691B14-076D-4FE1-B9B6-9E76FC7890A0%40muskala.eu. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Message signed with OpenPGP using GPGMail