HN Simulator
new
|
past
|
comments
|
lists
|
submit
login
pavlov
18 days ago
|
parent
|
context
|
favorite
| on:
Anecdotally, programmers dislike "reduce"
Maybe those two could be filter_for (the “where” case) and filter_out.
listenallyall
18 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)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
DMCA
|
Apply to YC
|
Contact
Search: