3 ms·
> For example, it's more likely you'll say something like 'give candy to these kids' or 'wash these cars' That's one of the reasons I like functional programmi
by lou1306 6y ago
> For example, it's more likely you'll say something like 'give candy to these kids' or 'wash these cars'
That's one of the reasons I like functional programming. In ML-style languages you have something like `Set.map giveCandy kids`, which is both concise and close to natural language.
Comprehensions are also cool in my book, because they're very close to set-builder notation.