You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree that reduce is a good function/concept to practice with for this solution but "best fitting" seems like a stretch. It took me a long time to understand the concept of reduce when learning functional programming and this may be a head scratcher for some folks new to Elixir and functional programming togther.
Would it be possible to change that message to say "Use the Enum.reduce function in the total_quantity function to practice."?
This doesn't give folks who can't figure out reduce right away the feeling like they are doing it "wrong".
The text was updated successfully, but these errors were encountered:
Solution Implementation:
The solution says:
I agree that
reduce
is a good function/concept to practice with for this solution but "best fitting" seems like a stretch. It took me a long time to understand the concept ofreduce
when learning functional programming and this may be a head scratcher for some folks new to Elixir and functional programming togther.Would it be possible to change that message to say "Use the Enum.reduce function in the total_quantity function to practice."?
This doesn't give folks who can't figure out
reduce
right away the feeling like they are doing it "wrong".The text was updated successfully, but these errors were encountered: