See the clip “Lonestar ElixirConf 2017- Closing Keynote by Dave Thomas” and also tons other similar clips which feature the famous funny characters of Doug and Bob.
WGUS - BUMPER: SCTV Christmas See the vid "WGUS - BUMPER: SCTV Christmas" and 100's…
Hollywood Squares: Home Edition View the video "Hollywood Squares: Home Edition" and our collection of…
Short Animation vid including the 100's of "Short Animation similar" clips presenting famous comedic Bob…
SCTV: The Happy Wanderers with Linsk Minyak See the video "SCTV: The Happy Wanderers with…
Don Diablo - Silence Ft. Dave Thomas Jr. Consume the video "Don Diablo - Silence…
Dave Thomas Junior - When Does It Get Easier View the media clip "Dave Thomas…
View Comments
Why should I use this Stepper when I can write all this stuff in the plain Elixir?
```
defmodule PlainElixir do
def fizzbuzz(number) do
case { rem(number, 3), rem(number, 5) } do
{ 0, 0 } -> "fizzbuz"
{ 0, _ } -> "fizz"
{ _, 0 } -> "buzz"
{ _, _ } -> number
end
end
def encode(list) when is_list(list), do: rle(list, [])
defp rle([], result), do: Enum.reverse(result)
defp rle([a | tail], [{a, n} | rest]), do: rle(tail, [{a, n + 1} | rest])
defp rle([a | tail], [a | rest]), do: rle(tail, [{a, 2} | rest])
defp rle([a | tail], result), do: rle(tail, [a | result])
end
```
at 38:00 Dave uses debug and then passes t to trace - how did he do that? I cannot find a reference to that way of debugging in Elixir manuals.
Diet, Stepper, Trace, Execution history, Clone execution history... Great talk.
A beautiful talk
Oh, it's redux, but for Elixir.