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

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
tduccuong
Hi, is there any work on GUI with Elixir, that is similar to Electron/Javascript? My idea is to bundle Phoenix and BEAM into a single se...
New
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
nobody
How to bind a phoenix app to a specific ip address? could not find anything about that, nowhere, unfortunately, but for me this is quite...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
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
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
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

Other popular topics Top

lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 47930 226
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New

We're in Beta

About us Mission Statement