2min chapter

Elixir Mix cover image

Benchee and Elixir 2.0 with Tobi Pfeiffer - EMx 171

Elixir Mix

CHAPTER

Is the Mapness of Structs a Breaking Change?

The mapness of struct is something you could reasonably rethink in 2.0. I think that it would be a breaking change, but that it's worth having a discussion about. There's a library that sort of gets some of the usual boilerplate, sort of like default values, defining the structs. And then also doing a type annotation for them which usually you have these free clauses that all look kind of the same and it just generates them all for you. Like that is a very cool nicety to have.

00:00

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