Bart and I are back from summer vacation to kick back into gear on Programming By Stealth. As you may remember, we’ve been learning all of the tools we’ll need to rewrite, test, and document Bart’s password generation library xkpasswd from perl to JavaScript. In order to start the rewrite, we need to understand the […]
Continue readingMore TagTag: classes
CCATP #643 – Bart Busschots on PBS 99 of X – Building with Classes Part 2: Is-A
This week Bart Busschots brings us the penultimate JavaScript installment of Programming By Stealth as he brings us part 2 of building with classes. This wraps up our third look at Object Oriented programming in JavaScript. We learn about the concept of inheritance, and how it allows us to build classes that inherit attributes and […]
Continue readingMore TagCCATP #637 — Bart Busschots on PBS 95 of X — Better JavaScript Class Attributes
This week Bart explains how to give our JavaScript classes better data attributes via a very powerful JavaScript feature: getters and setters. On my first read through the notes for the episode, my head was spinning a bit, but Bart explains this so well using concrete examples (like a circle with a radius) that I […]
Continue readingMore TagCCATP #635 — Bart Busschots on PBS 94 of X — Basic JavaScript OO with Class
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 TagCCATP #556 – Bart Busschots on PBS 59 of X — More Bootstrap Breakpoints
Bart takes us back to Bootstrap content, now that we know all about breakpoints. He never told us when we were looking at things like margins and float and the display tag that they are also breakpoint-aware, because we didn’t know about breakpoints yet. It’s an easy lesson and it’s great fun to learn more […]
Continue readingMore TagCCATP #521 – Bart Busschots on PBS 49A of X – Challenges from PBS 48
In this week’s episode of Programming By Stealth, Bart had intended to work on improving our Cellular Automata, but we ended up spending a lot more time on reviewing the challenges from last week that we stopped before getting to the new stuff. The good news is that we’re going to do the Cellular Automata […]
Continue readingMore TagCCATP #517 – Bart Busschots on PBS 47 – ES6 Polymorphism
In this installment of Programming By Stealth, Bart teaches us about inheritance (relationships between classes) and polymorphism. Now he said polymorphism is a concept that throws most first-level college students, but in an odd twist, I didn’t find it confusing at all! Plus, he lets us play with cows, ducks and turkeys in his example […]
Continue readingMore TagCCATP #516 – Bart Busschots on PBS 46 – ES6 Spread Operator, Arrow Functions & Classes
In this installment of Programming By Stealth, Bart adds one more thing to the list of changes to arrays, and that’s the spread operator. Then we’ll learn how to get rid of the “const self = this” kludge for callbacks using the arrow functions. After that, we learn the basics of classes, a concept introduced […]
Continue readingMore TagCCATP #422 Bart Busschots Programming By Stealth – 7 of x (More CSS)
Bart Busschots joins us again for part 7 of his series Programming by Stealth. In this instalment we’ll build on our basic understanding of CSS from previous instalment. We’ll start with some new CSS selectors, in the process, introduce two new HTML tag attributes, then we’ll move on to the CSS box model. Each HTML […]
Continue readingMore Tag