This post originated from an RSS feed registered with Ruby Buzz
by Jay Fields.
Original Post: Clojure: Truthy and Falsey
Feed Title: Jay Fields Thoughts
Feed URL: http://blog.jayfields.com/rss.xml
Feed Description: Thoughts on Software Development
Truthy and Falsey are important concepts in Clojure. The best description I've seen is in The Joy of Clojure, go buy it.
Depending on your language background you may have very different ideas on what evaluates to true and what evaluates to false. In Clojure, the answer to this is very straightforward.
Both nil and false are treated as "false" and everything else is treated as true.