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

IMPORTANCE, ADVANTAGES AND CHARACTERISTICS OF BHAGWAT PURAN

It was Ved Vyas who edited the eighteen thousand shlokas of Bhagwat. This book destroys all your sins. It has twelve parts which are like kalpvraksh.

In the first skandh, the importance of Vedvyas


and characters of Pandavas are described by the dialogues between Suutji and Shaunakji. Then there is the story of Parikshit.
Next there is a Brahm Narad dialogue describing the avtaar of Bhagwan. Then the characteristics of Puraan are mentioned.

It also discusses the evolution of universe.(
https://t.co/2aK1AZSC79 )

Next is the portrayal of Vidur and his dialogue with Maitreyji. Then there is a mention of Creation of universe by Brahma and the preachings of Sankhya by Kapil Muni.


In the next section we find the portrayal of Sati, Dhruv, Pruthu, and the story of ancient King, Bahirshi.
In the next section we find the character of King Priyavrat and his sons, different types of loks in this universe, and description of Narak. ( https://t.co/gmDTkLktKS )


In the sixth part we find the portrayal of Ajaamil ( https://t.co/LdVSSNspa2 ), Daksh and the birth of Marudgans( https://t.co/tecNidVckj )

In the seventh section we find the story of Prahlad and the description of Varnashram dharma. This section is based on karma vaasna.