Strings are UTF-8 encoded.
[Read More]Programming Elixir Chapter 10 Notes
Processing Collections—Enum and Stream
Earlier chapters focused on list processing via recursion. Now we’re getting into the more familiar iterables.
[Read More]Programming Elixir Chapter 8 and 9 Notes
Maps, Keyword Lists, etc. and Types
Chapter 8 is a dense chapter on an extremely useful set of features. Will become a reference chapter when starting to build Elixir projects as I’m very used to using maps, structs, etc.
Chapter 9 is a quick aside on types.
Neither chapter has exercises.
[Read More]Programming Elixir Chapter 7 Notes
Lists and Recursions
Making the best of recursion.
[Read More]Programming Elixir Chapter 6 Notes
Modules and Named Functions
It takes awhile to get used to not seeing function return
statements.
Drives home the point that everything is an evaluation.
Programming Elixir Chapter 5 Notes
Anonymous Functions
Unlike Python lambda functions, Elixir anonymous functions can be arbitrarily complex (though I guess there is a limit to what is practicable from a maintainability point of view).
[Read More]Exiting IEx
Exiting VIM is Easy
In order to exit the interactive Elixir shell (iex), all you need do is type:
Ctrl-c
twice; orCtrl-g
,q
,<Return>
; or sometimesCtrl-\
Missed the opportunity to allow :q
.
Installing Elixir on Mac OS
Soon as I hit Programming Elixir Chapter 5 I found I needed to start testing some of the concepts.
You can install Livebook or install the command line environments.
Here’s how I installed Elixir on my Mac OS 13.1 (Ventura) environment.
[Read More]Programming Elixir Ch 1-4 Notes
I’m used to skimming technical books. The decision to make notes and document my learning experience is causing me to slow down and spend more time with what I’m reading.
[Read More]It's All About the Memory
One minute into the Programming Elixir book’s foreward and the focus is unlike any other programming book I’ve read.
[Read More]