Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's such a blessing to be able to write in Scala

  customers.map(_.name).mkString(", ")
instead of the Java bloat

  customers.stream().map(c -> c.getName()).collect(Collectors.joining(", "))


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: