SICP Section 2.2: New ideas and thoughts about programming


Here are 5 points to think about, hopefully they'll trigger an 'aha' moment. 1. Leveraging the 'Closure' concept in programming I am not talking about the 'closure' concept from programming (the one that involves free variables). This refers to the 'closure' concept from mathematics and the power it brings to programming languages. Mathematically, a set is closed under an … Continue reading SICP Section 2.2: New ideas and thoughts about programming

The Differences between jQuery Deferreds and the Promises/A+ spec


A lot of developers use jQuery Deferreds to achieve promise-like behaviour. Since deferreds work for most scenarios, most do not know that jQuery deferreds are not compliant with the Promise/A+ spec. Surprised? Well, there are probably promise implementations that fall short of the spec. The schism is minor and might not really matter if promise libraries are … Continue reading The Differences between jQuery Deferreds and the Promises/A+ spec