Chit Chat Across the Pond

CCATP #774 — Bart Busschots on PBS 153 – Bash: Functions & Scope


Listen Later

In Programming By Stealth, we've come to the end of our journey with Bash. I'll be sad to have it complete because as I tell Bart in this episode, I've really enjoyed it. Next time he will do a final bow-tying episode where he brings everything we learned together in one set of notes as a handy reference guide.

In this episode, he explains how functions work in Bash, and after about the 12th time he repeated it, I understand that functions we create in Bash work just like built-in functions such as `ls` or `cat`.

After walking us through some easy-to-follow scripts to illustrate this and show us the syntax, we go into a harder concept: scope. We learn that Bash does scope differently from pretty much every other language, and so he teaches us how to avoid spooky action at a distance because of this different way of dealing with scope. Protecting ourselves isn't actually hard but it is very important to understand why we need to do this.

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

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

Chit Chat Across the PondBy Allison Sheridan

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

9 ratings


More shows like Chit Chat Across the Pond

View all
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

Clockwise by Relay

Clockwise

250 Listeners

MacVoices by Chuck Joiner

MacVoices

33 Listeners

Let's Talk Apple by Bart Busschots

Let's Talk Apple

20 Listeners

Mac OS Ken by Ken Ray

Mac OS Ken

902 Listeners

Connected by Relay FM

Connected

568 Listeners

Taming the Terminal by Bart Busschots & Allison Sheridan

Taming the Terminal

21 Listeners

The Mac Show by British Tech Network

The Mac Show

47 Listeners

The Checklist by SecureMac by SecureMac

The Checklist by SecureMac

77 Listeners

Upgrade by Relay

Upgrade

1,219 Listeners

The Rebound by The Rebound

The Rebound

176 Listeners

In Touch with iOS by David Ginsburg

In Touch with iOS

30 Listeners

Programming By Stealth by Bart Busschots & Allison Sheridan

Programming By Stealth

15 Listeners

snobOS by Nica Montford and Terrance Gaines

snobOS

38 Listeners