What happens when you compare complex data types?
While looking at what happens when you compare DateTime
values using standard operators (>
, <
, ==
, etc.), I found how Erlang and thus Elixir handles operations of complex data types. Added bonus: you’ll find out why 2 < nil
in Elixir.
https://davejlong.com/2017/03/03/comparing-complex-terms-in-elixir/
Read next Last week with Super Early Bird tickets for E&EFLBA 2017