Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pavlov
13 days ago
|
parent
|
context
|
favorite
| on:
Anecdotally, programmers dislike "reduce"
Maybe those two could be filter_for (the “where” case) and filter_out.
help
listenallyall
13 days ago
[–]
Kotlin has filter and filterNot (it also has separate "reduce" and "fold" functions, dependingon whether you want to specify an initial accumulator value or not)
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: