Ninigi

Ninigi

Looking for a specific talk about recursion and pattern matching (alternatives welcome)

Edit3: Even though I would like to find this video, I am mainly looking for educational material on recursion and pattern matching in elixir. If you think you have a good source, please post, even if it is not what I am looking for!

I watched a talk on YouTube when I was still pretty new to elixir (2 years ago? 3? Time flies) and I just don’t know how to find it again.

As far as I remember, the presenter was a man, maybe in his 50s, with a dad-body, talking about how he started using elixir and Phoenix, doing everything wrong and coming back to it, when finally pattern matching and recursion “clicked” for him.
He presents a very basic example of recursive functions, starting with something like def my_func([a | rest], acc) and ending with “what is your exit condition?”

The slides were literally the code going through the iterations, and it was a pretty good production.

This talk was basically what made recursion and pattern matching click for me, I would like to share it - but I just can’t find it… Please help.

Edit: one specific thing I remember is the presenter mentioning using elixir (Phoenix) without understanding recursion and how he made it work, but in a horrible way.

Edit2: I am looking for a specific video, but I already got some great suggestions! Even if it’s not what I’m looking for, this is fantastic. Keep it coming :smiley:

Most Liked

dokuzbir

dokuzbir

It can be this talk

kokolegorille

kokolegorille

Hmm, it’s quite a vague description.

Could it be @geo? Anyway I recommend his talks…

hubertlepicki

hubertlepicki

Hmm could it be @pragdave’s ElixirConf 2014 keynote?

Where Next?

Popular in Questions Top

Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
Tee
can someone please explain to me how Enum.reduce works with maps
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
itssasanka
Hi all, Trying to get some more clarity over utc_datetime and naive_datetime for Ecto: https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
New
pgiesin
This should be a simple problem but I just can’t seem to figure it out. I have a standalone Elixir app that won’t find the database. Dep...
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
chewm
Hi guys, nice to meet you to the whole forum, I’m new here, I’m trying to configure visual studio code for elixir, right now the intellis...
New

Other popular topics Top

shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
polypush135
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
lucidguppy
I have a super simple question about elixir - how would I take a file like this foo bar baz and output a new file that enumerates th...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New

We're in Beta

About us Mission Statement