Replies: 2 comments
-
Yes, you’re completely right. I decided against mentioning it to not confuse anybody. But I should have added it to the pattern matching chapter. If you wanna do that, please feel free to, but otherwise I’ll add it next week. On 7. Sep 2024, at 11:36, Aleksandr Lossenko ***@***.***> wrote:
The Variables assignment is technically not what's happening in Elixir. = is a match operator and not an assignment operator.
I get that for new people from other language it would sound confusing, but it's also not right to teach them incorrect concepts that could for example introduce awkward situations during a job interview.
Do you accepts PRs? I can take a stab at it to reword the text.
P.S. Love the idea and the website! Going to read the rest of the tutorial soon.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I added a new section in the https://runelixir.com/pattern-matching.html#assignment-is-matching |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
Variables assignment
is technically not what's happening in Elixir.=
is a match operator and not an assignment operator.I get that for new people from other language it would sound confusing, but it's also not right to teach them incorrect concepts that could for example introduce awkward situations during a job interview.
Do you accepts PRs? I can take a stab at it to reword the text.
P.S. Love the idea and the website! Going to read the rest of the tutorial soon.
Beta Was this translation helpful? Give feedback.
All reactions