wintermeyer / elixir-phoenix-ash

An Elixir, Phoenix and Ash Beginner's Guide
https://elixir-phoenix-ash.com
Other
10 stars 7 forks source link

Add brief introduction to functional programming in the elixir-introduction #13

Closed riverrun closed 4 years ago

riverrun commented 4 years ago

This proposal is to add a brief outline of certain principles / benefits of function programming near the beginning of the elixir-introduction file.

This might provide users with pointers to keep in mind while they read the rest of the book - especially if they are used to languages that belong to other paradigms.

Further details

We should mention the following:

The already existing sections on functions as first-class citizens and immutability could be simplified and moved to this introduction.

riverrun commented 4 years ago

On reflection, I think it might be more straightforward to explain some of these concepts as we encounter them (for example, we can mention higher-order functions when looking at anonymous functions).