5min chapter

Elixir Wizards cover image

Saša Jurić on The Future of Training & Education in Elixir

Elixir Wizards

CHAPTER

How to Organize Your Elixir Code

The main idea is we want to have like clear separation between what I call core and the interface. For example, if something should be done, no matter how the people access it, whether they go through the controller or through the socket or through TCP or a pigeon carrier or something like that, you know, if it's always the same, then it's the core else. It's the interface and for 99% of the cases, you don't have to think about it. This is one big departure that I make from Phoenix. And then the second thing is that I want to having like properly type data in the core. You can use some open API spec or GraphQL approach such

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