Functional programming in Java 8, Kotlin and Scala (www.reddit.com)