⚗️ Elixir Tip #38 - Counting with frequencies ⚗️
Before you reach for Enum.reduce to count occurrences of items, check out Enum.frequencies/1 and Enum.frequencies_by/2. Counting things has never been easier!
#ElixirLang #Erlang #Livebook
Get your hands dirty 💻 🎙️ Podcast: beamrad.io 📙 Book author: akoutmos.com/top/books ⌨️ Elixir libraries: hex.pm/users/akoutmos 📈 SaaS founder: eaglemms.com