Python Bytes is a weekly podcast hosted by Michael Kennedy and Brian Okken. The show is a short discussion on the headlines and noteworthy news in the Python, developer, and data science space.
…
continue reading
Content provided by ElixirTalk and Elixir Talk. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by ElixirTalk and Elixir Talk or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!
Go offline with the Player FM app!
Episode 164 - Quarantine Special: Module Organization in Elixir
MP3•Episode home
Manage episode 259472669 series 1675903
Content provided by ElixirTalk and Elixir Talk. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by ElixirTalk and Elixir Talk or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.
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
…
continue reading
65 episodes
MP3•Episode home
Manage episode 259472669 series 1675903
Content provided by ElixirTalk and Elixir Talk. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by ElixirTalk and Elixir Talk or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.
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
…
continue reading
65 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.