Lambdas are nice.
They’re function shortcuts. All google-able definitions will tell you something far more complicated, mostly because they don’t understand it.
https://gist.github.com/D3MZ/6084203
certain cases makes “->” more readable, but stick to the wordier version for now.
In the end, this adds readability, and for kicks I decided to refactor my Email / Facebook / Twitter scraper and it went from a 150 line monster to 50 lines of readable code.
Here’s the bulk of it:
See! You can almost understand what it does!