Elixir-Refactorings
Elixir-Refactorings copied to clipboard
Catalog of Elixir Refactorings
[Replace pipeline with a function](https://github.com/lucasvegi/Elixir-Refactorings?tab=readme-ov-file#replace-pipeline-with-a-function) The given example of "replace a pipeline with a function" is really an example of "use a higher order version of a function to reduce...
I see that > This catalog of refactorings aims to improve the quality of code developed in Elixir, helping developers promote the redesign of their code, making it simpler to...
First of all, thank you for this work! I really appreciate it! I wanted to open a discussion regarding ["Simplifying Ecto schema fields validation"](https://github.com/lucasvegi/Elixir-Refactorings?tab=readme-ov-file#simplifying-ecto-schema-fields-validation). I've seen developers, when learned about...
I think it'd be amazing to have some of your refactorings implemented as [Credo static analysis](https://github.com/rrrene/credo) checks. They don't necessarily need to be merged into credo upstream either, as [Credo...