Why “Kotlin” is being discussed
The most recent Hacker News stories and comments contributing to this topic's mentions.
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)
by listenallyall · Sep 17, 2026
> Most organizations that use Java tend to be pretty conservative with their technology picks That part i s true. > with newer Java versions the only real gap with Kotlin is nul…
by unscaled · Sep 16, 2026
I don't really think about it too much, it works fine. We don't use Optionals, I'm not sure why you brought that up. I'm not a dogmatic person in this respect, rather pragmatic.…
by munksbeer · Sep 15, 2026
Yes.. lol. The biggest argument now is Kotlin having nullness by default in the language. Just check around the comment section. Now java is planning to have them which will fur…
by joe_mwangi · Sep 15, 2026
Congratulations. You've added another build tool and sprinkled your code with ugly annotations and ifs and Optional Optional.of(x).map(y) all over the place to get the same thin…
by unscaled · Sep 15, 2026
Falls behind how? Isn't it still ahead? Kotlin keeps changing too, you know!
by esafak · Sep 15, 2026
Interest
Proportion of Hacker News items mentioning "kotlin" over time.
Mentions
Total number of Hacker News items mentioning "kotlin" over time.
Kotlin is a cross-platform, statically typed, general-purpose high-level programming language with type inference. Kotlin is designed to interoperate fully with Java, and the Java virtual machine (JVM) version of Kotlin's standard library depends on the Java Class Library. Type inference allows for more concise syntax than Java, while null-safety features reduce a common class of runtime errors. Kotlin mainly targets the JVM, but also compiles to JavaScript or native code via LLVM. JetBrains bears language development costs, while the Kotlin Foundation protects the Kotlin trademark. Read more on Wikipedia