We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Discussion on Pattern Matching Practices in Elixir
94
clicks
Source: reddit.com
The content revolves around a query from v4racing on the use of pattern matching in Elixir function headers specifically for accessing fields in the function body. The discussion includes various responses addressing whether this practice is advisable. Most commenters highlight that while it can sometimes be useful, it is generally better to use pattern matching in the function body to improve readability. References to Elixir's anti-patterns documentation were also provided for additional insights.
Related posts
© HashMerge 2024