Archive for September 11th, 2013

11Sep

The Functional Programming Crock

Posted by Elf Sternberg as Uncategorized

Quick, what’s the difference between these two expressions? // Javascript var add21a = function(a) { return a + 21; }; var add21b = (function(b) { return function(a) { return b + a }; })(21); // Coffeescript add21a = (a) -> a + 21 add21b = ((b) -> (a) -> b + a)(21) When I first […]


Subscribe to Feed

Categories

Calendar

September 2013
M T W T F S S
« Aug   Oct »
 1
2345678
9101112131415
16171819202122
23242526272829
30