Thinking Elixir Podcast cover image

Thinking Elixir Podcast

231: Pretty Error and OTP Raw Mode

Dec 3, 2024
Discover how recent updates make Elixir's protocol errors more readable, enhancing the developer experience. Dive into OTP 28's raw mode, revolutionizing real-time input for interactive CLI applications. Explore Saša Jurić's insights on creating a bespoke Kafka client, tackling challenges with existing libraries. Learn about a new mini-site showcasing Elixir events and the exciting advancements in LiveView, including the Motion.dev wrapper for animations. Plus, get a sneak peek into the upcoming Elixir Conf EU!
17:09

Podcast summary created with Snipd AI

Quick takeaways

  • Dave Lucia's PR improves the readability of Elixir's protocol error messages, encouraging community contributions to enhance developer experiences.
  • OTP 28 introduces Raw Mode for immediate CLI input processing, enabling developers to create more responsive interactive applications.

Deep dives

Enhancing Protocol Error Messages

A recent pull request by Dave Lucia addresses the common frustration with the 'protocol undefined' error message in Elixir, which often appears convoluted when dealing with large or nested structs. The initiative arose during a conversation where a colleague lamented the poor readability of these error messages, prompting the team to take action and improve them. This highlights a proactive approach in the development community, encouraging others to address challenges rather than just voice complaints. While the changes enhance legibility, they do come with a trade-off, as logging will now appear on multiple lines, which may complicate log parsing for some users.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode