Re:Practicing Elixir or any programming language
by midgetjones on Friday August 25, 2017 @09:58AM
(#15098428)
Good point! If you're going to pattern match in the initial string then who even needs the second function?
Whether that's an improvement or not is another matter :)
[ Parent
| on HN ]
Re:Practicing Elixir or any programming language
by ericdouglas on Saturday August 26, 2017 @08:59AM
(#15105238)
Crazy stuff! :D
I'm wondering how our future-self would feel about such cleverness haha