Colton Idle
List<Person>
Person.socialSecurityNumber
people .filter(predicate = { it.social != null }
people .filter(predicate = { it.social != null }, predicateFailedSideEffect = { Sentry.log(it.id) })
Shawn
val peopleWithSsns = people.partition { it.ssn != null } .apply { second.forEach { Sentry.log(it.id) } } .first
José González D'Amico
it should "never" be
Arjan van Wieringen
https://www.youtube.com/watch?v=Erp8IAUouus▾
Javier
people .onEach { if (it.social == null) log(...) } .filter { it.social != null }
A modern programming language that makes developers happier.