IssueRaiser

I wish there was more explanation with the = sign in Erlang.

I wish there was more explanation with the = sign in Erlang. In that it's not an assignment but a pattern match first. IIRC, it pattern match first and if the variable is not assign then it'll assign it IIRC. The code and explanation just state that it's Erlang to do assertion. I think that's an interesting concept at least when I play with Erlang.

Posted by digitalzombie on Mar 20, 2015, 2:06 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.7,500 issues0 comments

complaint (Other)

I wish there was more explanation with the = sign in Erlang.

digitalzombieMar 20, 2015, 2:06 AM

I wish there was more explanation with the = sign in Erlang. In that it's not an assignment but a pattern match first. IIRC, it pattern match first and if the variable is not assign then it'll assign it IIRC. The code and explanation just state that it's Erlang to do assertion. I think that's an interesting concept at least when I play with Erlang.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue