« * K @akoutmos.bsky.social

Alex Koutmos @akoutmos.bsky.social

2026-11-26 18:00 UTC

⚗️ Elixir Tip #73 - Sorting dates ⚗️ Enum.sort/1 compares structs field by field, which gives you the wrong answer for dates! Pass in the Date module and let it do the comparing. It works for :desc as well! #ElixirLang #Erlang #Livebook

1 picture (not shown on this phone)

4 likes, 0 reposts, 0 replies

3 Next post4 More from @akoutmos.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup