Hacker News new | comments | show | ask | jobs | submit login

Have you ever used jQuery?

    $(".someclass").onClick(function() {
Notice you're passing in a function to a function and `this` is a free variable.

Spend a week programming in a functional language (like Haskell or Clojure) and then go program in Java. You basically feel castrated because a) generics were added to the type system as an afterthought and b) functions are not first class citizens and c) higher order functions are simply not used in Java (they can be somewhat imitated with anonymous inner classes but it's a pain).

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact