Sveriges mest populära poddar
Programming By Stealth
Programming By Stealth

PBS 95 of X — Better JavaScript Class Attributes

1 tim 9 min2 maj 2020

Om avsnittet

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.

Programming By Stealth med Bart Busschots & Allison Sheridan finns tillgänglig på flera plattformar. Informationen på denna sida kommer från offentliga podd-flöden.