PBS logo: a tiny ninja with a pale face surrounded on either side by two squiggly brackets denoting programming. Get it? Ninja is stealthy!

CCATP #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 think he got it through to me. When I told him up front that I struggled a bit when reading the shownotes, he said that this is the “pointy end” which I think meant that it was a difficult concept so I felt a little better about it.

In the end it made a lot of sense and I see the reason for the tools he explained.

I highly recommend you read Bart’s terrific tutorial shownotes at pbs.bartificer.net/pbs95 as you listen along.

mp3 download

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top