Hacker News new | ask | show | jobs
by necrobrit 4566 days ago
Does that 'or' method actually exist in a library somewhere or was it just for illustration?
1 comments

Just for illustration. But to the author of the article's point that programming languages structure our thinking, the idea that "or" must be either in the core language or part of some library illustrates the constraints imposed on expressing our ideas absent the ability to introduce new syntax via a lisp-style macro facility. In a sense, Clojure's light weight data structures can be seen as extending up into the language.