Programming By Stealth

PBS 134 of X — Firming up our Foundations (2 of 2)


Listen Later

In this installment of Programming By Stealth, Bart Busschots finishes firming up our foundation on a few more things before we meet Jest, which will be the Test Driven Development (TDD) environment we'll be learning next time.

He explains in some adorable examples involving a parrot (named Polly of course) how getters can be used to construct short but powerful syntaxes that seem quite counterintuitive at first glance. These are heavily used by Jest, and without learning about them, they would simply look like magic. He said some purists may see this syntax as an abuse of getters but it's a pretty slick method that yields very readable APIs.

The second thing he teaches us is that functions can actually return functions. That sounds like opening a hole in the space-time continuum but it's actually quite logical and useful as Bart explains the usefulness of this really well. No parrots involved, but lots of pancakes and waffles in his examples.

You can find Bart's fabulous tutorial shownotes at pbs.bartificer.net.

...more
View all episodesView all episodes
Download on the App Store

Programming By StealthBy Bart Busschots & Allison Sheridan

  • 5
  • 5
  • 5
  • 5
  • 5

5

15 ratings


More shows like Programming By Stealth

View all
How Did This Get Made? by Earwolf and Paul Scheer, June Diane Raphael, Jason Mantzoukas

How Did This Get Made?

23,113 Listeners

Mac Geek Gab — Apple Tips, Tricks, and Troubleshooting by Dave Hamilton, Pilot Pete & Adam Christianson

Mac Geek Gab — Apple Tips, Tricks, and Troubleshooting

836 Listeners

NosillaCast Apple Podcast by Technology with an EVER so slight Apple bias

NosillaCast Apple Podcast

164 Listeners

Mac Power Users by Relay

Mac Power Users

1,288 Listeners

Chit Chat Across the Pond by Allison Sheridan

Chit Chat Across the Pond

9 Listeners

The Vergecast by The Verge

The Vergecast

3,702 Listeners

Taming the Terminal by Bart Busschots & Allison Sheridan

Taming the Terminal

21 Listeners

Interesting Times with Ross Douthat by New York Times Opinion

Interesting Times with Ross Douthat

7,226 Listeners

Conversations With Coleman by The Free Press

Conversations With Coleman

568 Listeners

Huberman Lab by Scicomm Media

Huberman Lab

29,132 Listeners

Honestly with Bari Weiss by The Free Press

Honestly with Bari Weiss

8,730 Listeners