News for hackers. Stuff that matters.
Re:If-then-else had to be invented by lou1306 on Sunday December 13, 2020 @01:38PM (#25408892)
> 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.

There are no comments on this comment yet.