Understanding RECURSION in 2 minutes!

preview_player
Показать описание
How to use recursion ? Let's find out!

Thanks for watching!
Рекомендации по теме
Комментарии
Автор

Man, your videos have been so much helpful!!! So much better than my university!

nomad
Автор

The cat made me at peace with recursion, love that!

mianaviatte
Автор

Really, really nice. I'm new in elixir stuff and your tutorials are great! Waiting for next one! Subscribed and liked already!

Torq
Автор

The disappearing sound makes the video really weird.

horvathlg
Автор

defmodule Recursion do

def sum([], total) do
total
end
def sum(list, total) do
[ first_number | remaining_list ] = list
new_total = total + first_number
sum(remaining_list, new_total)
end

end

sawthinkar
Автор

dude, this video is fucking A!
You made IT fun and interesting!

fred.piedritas
Автор

This is awesome, great content.
Funny fact I have a cat that is a clone of your cat, his name is papin.
xD

santicomp