Programming By Stealth

PBS 160 of X — jq as a Programming Language


Listen Later

In this week's installment of Programming By Stealth, Bart Busschots teaches us how to use jq as a programming language. Before we get into the new stuff, Bart takes us through his solution to the challenge, and I have to say I was pretty chuffed when he said my solution to the extra credit portion was more elegant than his. To be fair, it took a buddy programming session with him for me to get the _first_ part of the challenge figured out.

When we got into the programming language part of the lesson, there were so many times that I said, "I needed this last week!" I think finding out these options are available after understanding the problems they solve was fantastic.

We learned how to run jq filters from files, which means no more looking at our filters all on one line - we can put line feeds and indents into our filters to make them more readable. We can even add comments. Bart tells us about a couple of handy plugins for VS Code to give us syntax highlighting which will be swell.

My favorite thing I learned was how to add debugging to our filters. This one is a life changer. We explore a few functions for exploring data filters that will make life easier. We wrap up with an introduction to jq variables, which the developers of jq really don't want you to use unless absolutely necessary.

...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