It's going to be a very easy mistake to miss off a hat (^) when doing pattern matching (in comparison to accidently adding one in), and these mistakes are going to go unnoticed at runtime.
I was having dinner with Joe Armstrong,
--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can just as well get bugs for the opposite reason.
You bind a variable somewhere above in your code and then assign to the variable without knowing it was already bound.
Example Erlang code:
foo() ->
Var = 123,
% lots of code here
% ...
case expression() of
% oops, hidden bug, I forget Var was already bound in the code above
Var -> ...
end.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I have been really enjoying Elixir so far. I haven't been this excited about a programming language for a ling time.
--mkb