Closure: It’s not a complex concept. Yet it’s hard to describe. Sure, a lot of programming jargon is abstract and requires a little bending of one’s mind. Polymorphism, reflection, encapsulation — hell, even abstraction is an abstract concept.

In my own effort to understand closures better, I’ve compiled the best…

While studying up on the 2014 Formula One season, I spent a little time creating an animated GIF of Ferrari’s car over the last eight iterations. Interesting to watch the change of specific areas, like the front end and the rear wing. The images are centered on the driver’s position and are lined up as best as possible to be consistent with where the ground would be.

Evolution of the Ferrari F1 as animated GIF

(Thanks to these guys for the images.)

JSONP is a way to fetch JSON data from a different domain, often in an asynchronous way, but without being restricted by the browser’s same-origin policy like you would be with XMLHttpRequest. But perhaps you only know it via a library like jQuery, which auto-magically handles JSONP URLs. …

Jason Schock

Web developer and UX guy

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store