Hacker News new | ask | show | jobs
by bardsore 963 days ago
The kotlin example can be made even more concise:

  val num = words.count { it.isNotEmpty() }