The Elixir Style Guide
|
|
22
|
6462
|
September 9, 2025
|
Should the Elixir formatter allow trailing commas?
|
|
41
|
805
|
May 20, 2025
|
When to use: Case vs if
|
|
20
|
4429
|
October 21, 2024
|
What do you think about using `_` vs `_other`?
|
|
21
|
499
|
October 20, 2024
|
Help with idiomatic Elixir style when dealing with logic flow
|
|
31
|
614
|
September 27, 2024
|
Best way to handle multiple sequential logic checks in code
|
|
2
|
100
|
September 4, 2024
|
Ordering Use, Import, Alias, Require?
|
|
11
|
8346
|
May 29, 2024
|
Piping module attributes
|
|
16
|
441
|
April 14, 2024
|
Best way to pass many arguments to a function?
|
|
14
|
1039
|
March 16, 2024
|
Elixir style vs. "Parse don't validate" (from Haskell)
|
|
5
|
923
|
November 8, 2023
|
Should I provide typespec for each function clause?
|
|
3
|
580
|
August 18, 2023
|
Function with many arguments design
|
|
7
|
6946
|
August 9, 2023
|
How to deal with this pattern elegant?
|
|
8
|
484
|
May 31, 2023
|
When to use perform_action("type", ...) vs perform_type(...)
|
|
2
|
458
|
January 20, 2023
|
High quality public phoenix projects
|
|
9
|
4018
|
December 22, 2022
|
Readability of single-clause with statements
|
|
7
|
1675
|
December 12, 2022
|
How do you deal with partial failures
|
|
9
|
854
|
December 6, 2022
|
Why `throw/catch` is discouraged for control flow in favor of `with` special form?
|
|
20
|
2638
|
November 16, 2022
|
Using List.first instead of Enum.at(0)
|
|
14
|
33099
|
October 26, 2022
|
Stylistic question: How to break out of a recursive tree processing?
|
|
3
|
895
|
September 30, 2022
|
Mix formatter to remove unnecessary newlines?
|
|
29
|
2500
|
September 3, 2022
|
Why would you create two near-identical functions but one does not have a bang (!)?
|
|
3
|
762
|
August 15, 2022
|
How do you work with nested modules?
|
|
12
|
4384
|
July 5, 2022
|
Control flow structures vs Pattern Matching
|
|
9
|
1063
|
July 3, 2022
|
A question about the composability of Elixir
|
|
3
|
696
|
May 14, 2022
|
Role models for Elixir documentation?
|
|
1
|
757
|
October 18, 2021
|
Avoiding long `with` blocks
|
|
3
|
901
|
October 7, 2021
|
AI Code Completion Plugin called Tab Nine
|
|
3
|
2756
|
August 28, 2021
|
Credo (or others) enforce guard clauses for all arguments
|
|
1
|
890
|
August 12, 2021
|
Handling nil in case
|
|
6
|
3723
|
June 19, 2021
|