tnederlof
Resources for Creating a Library
This is a pretty open ended question so feel free to take it in different directions. I have been learning elixir over the past few months and really enjoying myself. I wanted to take a shot at my first library and while I know technically how to create a mix project and have read through what not to do (Library guidelines — Elixir v1.20.2) but I am left wondering if there are other resources/blog post that give tips on best practices, how to organize, etc. Even stellar examples of well organized small/medium sized libraries that I can read through to get a sense of best practices would be quite useful (there are SO many libraries I have come across and its hard to pick out best practices from them).
Most Liked
mindok
I would think that Dashbit’s libraries are pretty good examples of how to go about things, for example: GitHub - elixir-broadway/broadway: Concurrent and multi-stage data ingestion and data processing with Elixir · GitHub
Note the guides and the docs function in mix.exs - useful docs are one of the most important aspects of a library (assuming it actually works and has a sensible API
). Also note the inline docs in the code and typespecs for any public functions in the library.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex









