My Diagram Explaining Classes, Constructors, Objects and Instances In the early days of Programming By Stealth, Bart tried to explain JavaScript classes, objects and instances. He talked about it in Installment 17 before ES6, and then took another run at it in installments 27-31. But it never felt to Bart like he had explained it […]
Continue readingMore TagTag: objects
CCATP #632 – Bart Busschots on PBS #93 – Encapsulation with JavaScript Objects
In this episode of Programming By Stealth, Bart takes us through the last “hat” that JavaScript objects can wear: encapsulation. As Bart walks us through the problems encapsulation solves using a funny NosillaCast-specific example, he shows how the code becomes reusable and sharable with encapsulation, and even more readable. You can read the tutorial shownotes […]
Continue readingMore TagCCATP #624 — Bart Busschots on PBS 90 of X — JavaScript Wrapper Objects
Hope you enjoyed getting the little extra Tidbits episode this week. In this installment Bart continues our on-going mini-series looking at each of the proverbial hats JavaScript objects wear. Bart explains the concept of JavaScript wrapper objects that allow you to access properties of otherwise property-less primitives. It’s pretty magical and I only got lost […]
Continue readingMore TagCCATP #583 – Bart Busschots on PBS 72 – HTML5 Templates
Last time Bart teased us that we were going to learn about the template library called Mustache, but he realized that he needed to teach us about vanilla HTML 5 Templates first. He starts by showing the problem to be solved: how messy and error-prone it is to create HTML elements using jQuery. Then he […]
Continue readingMore TagHow almost everything in JavaScript is an Object – by Will aka @beiju
The following explanation is from an old friend of the show, Will (also known as @beiju). Unbeknownst to us, he’s been following along with Programming By Stealth all this time and just popped his head up for the first time in quite a few years. Will wrote the following in an email to Bart and […]
Continue readingMore TagCCATP #522 – Bart Busschots on PBS 49B of X – Object Revision & Improving Our Cellular Automata
As promised last week, Bart Busschots brings us the second half of Programming By Stealth 49. We start by going through a lot of revision on JavaScript objects. It’s really great to have all of this all in one place, and I got to ask a few questions that have been bugging me for a […]
Continue readingMore TagCCATP #446 – Programming by Stealth – 18 of x JavaScript Miscellany
In this episode of Programming By Stealth, Bart Busschots takes us through the final stages of learning JavaScript within the playground. Now that we know about objects, we need to re-visit the arguments object present in every JavaScript function. We need to take a detailed look at the typeof operator, and we need to look […]
Continue readingMore TagCCATP #444 – Programming by Stealth – 17 of x JavaScript Objects
In this continuing series with Bart Busschots, we get a more detailed look at objects, and then we look at some standard functions and objects that are built into JavaScript. We also take a proper look at two operators we’ve seen before, typeof and instanceof. Bart’s full written tutorial is available at pbs.bartificer.net/… mp3 download
Continue readingMore Tag