Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
village-idiot
on Jan 28, 2017
|
parent
|
context
|
favorite
| on:
Java Without If
Why is map and filter nice on a list? Because the individual functions passed in have no idea they're in the middle of a map or filter. Ditto with mapping or filtering on Optional or Either. It composes better.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: