11 ms·
This was all the code it took: (newsop pending () (pending-page user)) (newscache pending-page user 60 (listpage user (msec) comments* [if (and (canse
by pg 13y 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.
- deleted 13y ago[deleted]
- elwell 13y agoThe second comment refers to a small portion of the first comment's reference.
- couchand 13y agoForgive 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?
- jrlocke 13y agoArc
- rbanffy 13y agoIIRC, it's written in Arc http://arclanguage.org http://arclanguage.org
- nokcha 13y agoIt's written in Arc. Regarding the square bracket syntax: [... _ ...] is an abbreviation for (fn (_) (... _ ...)) http://www.paulgraham.com/arc.html http://www.paulgraham.com/arc.html http://en.wikipedia.org/wiki/Arc_%28programming_language%29 http://en.wikipedia.org/wiki/Arc_%28programming_language%29