Hi there! Not sure if this is the best thread for this, and itβs also very minor and a matter of personal preference
The code:
|> Enum.sort_by(fitness_function, &>=/2)
is used a handful of times throughout the book. I find it a bit clearer to use:
|> Enum.sort_by(fitness_function, :desc)
but again, purely personal preference