<div dir="ltr"><div dir="ltr">Den fre 22 jan. 2021 kl 16:42 skrev Sean Hinde <<a href="mailto:sean.hinde@mac.com">sean.hinde@mac.com</a>>:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I just looked through my Elixir codebase - There are zero occurrences of matching on bound variables in normal code. There are a *lot* of carets, but all are used in the ecto DSL where it is required to pass in a parameter to a query.<br>
<br>
But I use this feature in my Erlang code all the time.<br>
<br>
Why the difference? I honestly don't know. I guess it doesn't feel idiomatic in a language where matching a bound variable requires a caret and there are other ways to express the same thing.<br></blockquote><div><br></div><div>Could you give some examples of what those other ways are? It could be interesting to compare.<br clear="all"><div><div dir="ltr" class="gmail_signature"><br> /Richard</div></div></div><div> </div></div></div>