Last week, I started teaching #ElixirLang. First week I gave a presentation about the language, its history, its features and its community.
Yesterday I started teaching the language.
#myelixirstatus

The students installed the language on their machines (not as easy as I expected).
Then I presented iex, values, a bit of pattern matching (not much).
After that I used @pragdave book (which they got free from @pragprog as they have a .edu email address) to show them anonymous functions.
I am not sure if showing anonymous functions before showing them named functions and modules is a good idea.
After all, the dot after the name of the function is ugly and it is not used with named functions.
Everything is an experiment. It is the first time I teach Concurrent Functional Programming.
It is a graduate level course.
It seems I was wrong.
Look at @elixirschool first page: https://t.co/4RU2bdxpvh
They start with named functions and modules.
So, nexy year:
- named functions first
- anonymous functions later
#myelixirstatus https://t.co/lxerWUFM7Q
Well, maybe not.
When Elixir School presents functions, they start with anonymous functions https://t.co/RRq4jIsPHh
@threadreaderapp unroll

More from Adolfo Neto

More from All

You May Also Like