This document outlines potential anti-patterns related to your code and particular Elixir idioms and features.
It covers:
- Comments overuse
- Complex else clauses in with
- Complex extractions in clauses
- Dynamic atom creation
- Long parameter list
- Namespace trespassing
- Non-assertive map access
- Non-assertive pattern matching
- Non-assertive truthiness
- Structs with 32 fields or more
continue reading on hexdocs.pm
⚠️ This post links to an external website. ⚠️
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.