Podchaser Logo
Home
Episode 164 - Quarantine Special: Module Organization in Elixir

Episode 164 - Quarantine Special: Module Organization in Elixir

Released Wednesday, 22nd April 2020
Good episode? Give it some love!
Episode 164 - Quarantine Special: Module Organization in Elixir

Episode 164 - Quarantine Special: Module Organization in Elixir

Episode 164 - Quarantine Special: Module Organization in Elixir

Episode 164 - Quarantine Special: Module Organization in Elixir

Wednesday, 22nd April 2020
Good episode? Give it some love!
Rate Episode

We’re back with another episode of ElixirTalk. In this episode Chris & Desmond do a deep dive on organizing code in Elixir and talk about some best practices. We recorded this a couple weeks ago so it may sound a little stale :)

We touch on:* Module and context naming* How we like to organize code in our projects* Big long modules vs many small modules* How to split up contexts* Injecting code via macros## Links* On the Criteria to be used in decomposing systems into modules - D.L Parnas: https://www.win.tue.nl/~wstomv/edu/2ip30/references/criteria_for_modularization.pdf* Proposal for some ew rules for Phoenix contexts: https://devonestes.herokuapp.com/a-proposal-for-context-rules* Write code that is easy to delete, not easy to extend: https://programmingisterrible.com/post/139222674273/write-code-that-is-easy-to-delete-not-easy-to* How to use `use` well: https://dockyard.com/blog/2017/12/07/macro-madness-how-to-use-use-well* Protocols in Elixir: https://hexdocs.pm/elixir/Protocol.html

Show More
Rate

Join Podchaser to...

  • Rate podcasts and episodes
  • Follow podcasts and creators
  • Create podcast and episode lists
  • & much more

Episode Tags

Do you host or manage this podcast?
Claim and edit this page to your liking.
,

Unlock more with Podchaser Pro

  • Audience Insights
  • Contact Information
  • Demographics
  • Charts
  • Sponsor History
  • and More!
Pro Features