Does 'each' serve as both forEach and map? It appears that way from the fib example.
It's unfortunate that there is already an Elixir web framework [0] with the same name. [0]: http://www.phoenixframework.org
That's an opinion. I almost always prefer higher order functions.
Thank you for reminding us to test our code both locally and in production. I always forget those pesky details.
Wouldn't be cleaner to implement is_valid like this: int is_valid(char* password) { return strcmp(password, "poop") == 0; }
Does 'each' serve as both forEach and map? It appears that way from the fib example.
It's unfortunate that there is already an Elixir web framework [0] with the same name. [0]: http://www.phoenixframework.org
That's an opinion. I almost always prefer higher order functions.
Thank you for reminding us to test our code both locally and in production. I always forget those pesky details.
Wouldn't be cleaner to implement is_valid like this: int is_valid(char* password) { return strcmp(password, "poop") == 0; }