Comment

Comment by claudiojulio

I don't like the operators' logic in elixir. There should be one for assigning variables, one for pattern matching and there is no rebinding of variables.

Could be like that:

  // assigning

  x = 1

  // pattern matching

  x ^ 1

  // pattern matching and assigning

  x =^ 1
And they should remove the rebinding that is useless. But I find it very difficult for that to happen at that time.

Automatically translated.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton