Michael Fogus's Blog, page 11

July 23, 2013

C.S. on the cheap

The famous book publisher Hayward Cirker, the founder of Dover Publications built a fortune on finding obscure books that had either gone out of print or escaped publication altogether, and printing them himself. Among his many successes you’ll find amazing books on mathematics and physics including The Theory of Relativity, The Thirteen Books of the [...]
 •  0 comments  •  flag
Share on Twitter
Published on July 23, 2013 11:46

July 22, 2013

FP vs. OO, from the trenches.

I’ve been programming for quite some time and have explored a variety of programming paradigms along the way. From time to time people will ask1 which is better: functional programming or object-oriented programming. Having done both extensively in my time I can exclaim a resounding: it depends. Lame. While I’ll never be a major player [...]
1 like ·   •  0 comments  •  flag
Share on Twitter
Published on July 22, 2013 07:16

July 17, 2013

An introduction to deep code-walking macros with Clojure

With the release of the core.async library the Clojure community has been exposed to the joys1 of Communicating Sequential Processes and Go-style asynchronousity 2. While this is all very exciting and new for the Clojure community at-large, a likewise interesting aspect of core.async’s release has been exposed — deep code-walking macros — a subject I [...]
1 like ·   •  0 comments  •  flag
Share on Twitter
Published on July 17, 2013 12:21

June 18, 2013

Functional JavaScript: Closure

It’s done! After a seemingly endless journey, the publication of Functional JavaScript is complete and books have found their way into peoples’ homes. Below is a list of useful links related to the book: The official Functional JavaScript site My Twitter feed, where I will post coupons and inanities The Functional JavaScript paperback edition The [...]
2 likes ·   •  0 comments  •  flag
Share on Twitter
Published on June 18, 2013 10:53

June 12, 2013

Fun.js – allong.es

I’ve written a book entitled Functional JavaScript due out in print sometime in June 2013. In the book I introduce and explore various techniques for writing code in a functional style using the Underscore library. As much as I would have loved to delve into the ecosystem of functional JS libraries, I didn’t want to [...]
 •  0 comments  •  flag
Share on Twitter
Published on June 12, 2013 13:00

June 6, 2013

Fun.js – Just a sketch

I’ve written a book entitled Functional JavaScript due out in print sometime in June 2013. In the book I introduce and explore various techniques for writing code in a functional style using the Underscore library. As much as I would have loved to delve into the ecosystem of functional JS libraries, I didn’t want to [...]
1 like ·   •  0 comments  •  flag
Share on Twitter
Published on June 06, 2013 11:56

June 4, 2013

Announcing: core.memoize v0.5.4

core.memoize is a Clojure contrib library providing the following features: An underlying PluggableMemoization protocol that allows the use of customizable and swappable memoization caches that adhere to the synchronous CacheProtocol found in core.cache Memoization builders for implementations of common caching strategies, including: First-in-first-out (memo-fifo) Least-recently-used (memo-lru) Least-used (memo-lu) Time-to-live (memo-ttl) Naive cache (memo) that duplicates [...]
 •  0 comments  •  flag
Share on Twitter
Published on June 04, 2013 11:13

Fun.js – Bilby.js

I’ve written a book entitled Functional JavaScript due out in print sometime in June 2013. In the book I introduce and explore various techniques for writing code in a functional style using the Underscore library. As much as I would have loved to delve into the ecosystem of functional JS libraries, I didn’t want to [...]
 •  0 comments  •  flag
Share on Twitter
Published on June 04, 2013 06:21

May 29, 2013

Fun.js – Functional JavaScript

I’ve written a book entitled Functional JavaScript due out in print sometime in June 2013. In the book I introduce and explore various techniques for writing code in a functional style using the Underscore library. As much as I would have loved to delve into the ecosystem of functional JS libraries, I didn’t want to [...]
 •  0 comments  •  flag
Share on Twitter
Published on May 29, 2013 12:16

May 1, 2013

Fogus’s Tenth Rule

with all apologies to Philip Greenspun Any sufficiently complicated Clojure program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of OPS5. :F
 •  0 comments  •  flag
Share on Twitter
Published on May 01, 2013 11:20