News for hackers. Stuff that matters.
Re:The Development of Erlang (1997) by weatherlight on Thursday June 03, 2021 @10:30AM (#27381913)
https://erlang.org/doc/reference_manual/expressions.html#pat...

it's more like the = sign in math mathematics.

2x = 10 we can deduce x = 5

Here's an elixir example where a bunch of "if/else" blocks are refactored to use case statements, and then from case statements to pattern matching.

https://nickjanetakis.com/blog/refactoring-elixir-code-if-co...

There are no comments on this comment yet.