Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on False Cognates and Syntax: The Importance of Syntax in Programming Languages. Parent comment
(defun is-greater-than (x y) (cond ((< x y) T) (T nil)))
As with the erlang example, I need a T test to get an else clause, although in this particular example, the result of the cond is nil if nothing matches anyway.
There are no comments on this comment yet.
(defun is-greater-than (x y) (cond ((< x y) T) (T nil)))
As with the erlang example, I need a T test to get an else clause, although in this particular example, the result of the cond is nil if nothing matches anyway.