News for hackers. Stuff that matters.
Re:Read this post ‘unless’ you’re not a Ruby developer by fl_ciq on Tuesday December 13, 2022 @04:14PM (#33975899)
Thanks for that, I had no idea. Do you know if zero is truthy in erlang? It makes sense for elixir (based on ruby) but I'm wondering if erlang is that way too.
Re:Read this post ‘unless’ you’re not a Ruby developer by nanny on Tuesday December 13, 2022 @07:15PM (#33978232)
>Do you know if zero is truthy in erlang?

I don't know off the top of my head, but I would assume that yes, zero is truthy in Erlang as well, since Elixir is fully compatible with it.