CCATP #637 — Bart Busschots on PBS 95 of X — Better JavaScript Class Attributes
Chit Chat Across the Pond
English - May 02, 2020 23:57 - 1 hour - 63.4 MB - ★★★★★ - 9 ratingsTechnology News Tech News technology geek mac Homepage Download IPFS Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed
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.