PBS 24 – Creating a JavaScript API

In this week’s installment of Programming By Stealth, Bart teaches us how to create a JavaScript API up to and including an easy way to create professional documentation in order to publish our work as a JavaScript library. In order to get there we learn how to write reusable and sharable code, how “closures” help you keep your variables out of the global scope so they don’t mess up other people’s code, we learn one Ternary Operator), and my favorite, self-executing anonymous functions. Apologies for getting the episode number wrong in the audio – I said it was #460 when it’s actually #461. You can find Bart’s tutorial we follow in this episode at bartbusschots.ie/….

Om Podcasten

A collaborative project between Bart Busschots and Allison Sheridan to sneak up on real programming in small easy steps, using the allure of the web as the carrot to entice people forward.