Javascript is not enabled. This site can still works but it'll be more interactive when javascript is enabled.
loading...
Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
pavlov
13 hours ago
|
on: Anecdotally, programmers dislike "reduce"
Maybe those two could be filter_for (the “where” case) and filter_out.
reply
listenallyall
7 hours ago
|
parent
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