Hacker News new | ask | show | jobs
by im3w1l 1328 days ago
Not bad but I think python's way - using tuples is cleaner

  (x.a, x.b) < (y.a, y.b)
btw you can format as code by indenting two spaces.