Tag: Functional Programming
Keeping CAR and CDR in Lisp Straight
January 2, 2011
If you’re like me and were exposed to Erlang and Haskell before Lisp, the acronymic functions CAR (return the head of a linked list) and CDR (return the tail of the linked list) won’t make a lot of sense. Why use cAr for the head, and cDr for the tail? Turns out the reason is [...]
Embracing Javascript as a Mature Language
September 13, 2010
When I first encountered Javascript, things were a bit different than they are now. Frameworks like MooTools and jQuery didn’t exist, nor did excellent debugging tools like Firebug. Back then Netscape and IE 5.5 dominated the landscape, and I was still writing in the code tab of Microsoft FrontPage. Perhaps unsurprisingly, my early attempts at [...]