PBS 95 of X — Better JavaScript Class Attributes

Programming By Stealth - En podcast af Bart Busschots & Allison Sheridan - Søndage

Kategorier:

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](https://pbs.bartificer.net/pbs95) as you listen along.

Visit the podcast's native language site