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!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Ugly Protocol Errors

  • Protocol error messages in Elixir were previously difficult to read, especially with large or nested structs.
  • This made debugging challenging due to lack of syntax highlighting and excessive wrapping.
ANECDOTE

Fixing Protocol Errors

  • Dave Lucia improved Elixir's protocol error messages after a colleague complained about them.
  • Instead of dismissing the issue, they proactively fixed it, demonstrating how anyone can contribute.
ADVICE

Contribute to Open Source

  • Be the change you want to see in open-source projects.
  • Fix small annoyances like bad error messages instead of just complaining.
Get the Snipd Podcast app to discover more snips from this episode
Get the app