Thinking Elixir Podcast cover image

Thinking Elixir Podcast

236: Turn it up to 1000!

Jan 14, 2025
Exciting updates include José Valim's PR for enhanced type inference in Elixir 1.19, making it smarter for argument types. The DenoRider library is introduced, allowing JavaScript to run embedded in Elixir applications, opening doors for full-stack development. Gleam v1.7.0 boasts improved performance and features, showcasing its adaptability in heterogeneous environments. Discussions also delve into the future of coding conventions and the impact of type management on programming productivity.
21:50

Podcast summary created with Snipd AI

Quick takeaways

  • Elixir 1.19 introduces enhanced type inference capabilities, allowing automatic type determination for function arguments and reducing potential errors.
  • The DenoRider library facilitates seamless integration of JavaScript into Elixir applications, enhancing flexibility and enabling server-side rendering without integration issues.

Deep dives

Enhancements in Type Inference for Elixir 1.19

A significant development in Elixir's evolution is the introduction of enhanced type inference capabilities in the upcoming version 1.19. This new pull request aims to expand type inference beyond mere patterns to include most expressions, such as function calls. For instance, a simple function can automatically infer the types of its input, determining that an argument must be a map containing specific keys with defined value types. This ability to infer types without explicit declarations may streamline development processes and potentially reduce errors related to type mismatches.

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