← Back to context

Comment by pg

12 years ago

This was all the code it took:

  (newsop pending () (pending-page user))

  (newscache pending-page user 60
    (listpage user (msec) comments* [if (and (cansee user _) _!pending) _]
              "pending" "Pending Comments" "pending" nil))

In this project I've really benefited from having kept the code tight.

Forgive me for asking what's probably a simple question: what's HN coded in? That's pretty clearly a flavor of Lisp... what's the square bracket predicate syntax?