Michael Fogus's Blog, page 22

April 6, 2011

All in the family

I've been thinking lately how useful it is to classify Clojure as "a Lisp". I suppose doing so provides a basis for minimal information: macros and uh…. parentheses. The problem is that neither is unique to, nor emblematic of the Lisp family of languages. Lisp is the only family of language that is tied so [...]
 •  0 comments  •  flag
Share on Twitter
Published on April 06, 2011 20:04

April 5, 2011

#_(< (count common-lisp) (count clojure))

There has been some talk about the number of forms available in Clojure compared to Common Lisp. I find this line of thought puzzling. This is the same line of thinking that has been thrown at Common Lisp for ages — and the argument grows no more valid over time.1 The only reason that we [...]
 •  0 comments  •  flag
Share on Twitter
Published on April 05, 2011 05:55

March 29, 2011

Predicate Dispatch…

… in Clojure? Could be. More to come. Until then: Efficient Predicate Dispatching by Chambers and Chen Practical Predicate Dispatch Efficient Predicate Dispatch in Dylan (ppt) :f
 •  0 comments  •  flag
Share on Twitter
Published on March 29, 2011 15:45

March 28, 2011

Joy of Clojure in print

The Joy of Clojure is now in print. All print book purchases from Manning.com include a FREE ebook (PDF, epub and mobi when available.) :f
1 like ·   •  0 comments  •  flag
Share on Twitter
Published on March 28, 2011 12:01

March 27, 2011

The long-lost art of thoughtfulness in blogging

Whether this blog qualifies as a thoughtful blog is debatable, however in my time I'm come across great examples of blogs that strive to further the quality of online discourse.1 The following are not always technical in nature, but they will teach you much regardless. in no particular order. totally dead (even if bitching) blogs [...]
 •  0 comments  •  flag
Share on Twitter
Published on March 27, 2011 17:44

March 18, 2011

OOPs! Aphorisms!

Somewhere on the Internet… OO isn't really a design consideration, it's a metaphor. — Reginald Braithwaite Skepticism sets in… OOP describes the real-world in the same way that the metaphor "Raganwald is a diamond in the rough" describes your ability to act as a piece of jewelry. — Fogus Also… Functional Programming puts all the [...]
 •  0 comments  •  flag
Share on Twitter
Published on March 18, 2011 20:14

March 14, 2011

Scala. Fare Thee Well

Today marks a turning point. In addition to being my first day as a member of Clojure/core and a programmer of record for Relevance Inc., it also represents my last day as a paid Scala programmer. I discovered Scala in mid-2007 and have used it professionally since early 2008. Needless to say; I have enjoyed [...]
 •  0 comments  •  flag
Share on Twitter
Published on March 14, 2011 09:56

March 10, 2011

Old Sun Technical Reports

Start here Have fun. :f
 •  0 comments  •  flag
Share on Twitter
Published on March 10, 2011 06:55

March 9, 2011

Recursion is a low-level operation

Yesterday I demonstrated how to transform a mundane recursive function into a tail recursive function. However, I received some flak for that post because there are better ways to implement run-length encoding with Clojure. While certainly true, I think some of my critics1 missed the point of the exercise. ;-) Having said that; their points [...]
 •  0 comments  •  flag
Share on Twitter
Published on March 09, 2011 10:57

March 8, 2011

Transforming an accumulating mundane recursive fn into a tail-recursive fn (with Clojure)

this example is in Clojure, but the general principle stands regardless of language Transforming an accumulating mundane recursive function to a tail-recursive function using a helper function. 301 Moved Permanently

nginx/0.7.67 See Common Lisp: A Gentle Introduction to Symbolic Computation for more information about this [...]

 •  0 comments  •  flag
Share on Twitter
Published on March 08, 2011 11:58