It was actually bittersweet for Bart and me this week as he taught the final installment in our series of Programming By Stealth about jq. As Bart says partway through our recording, he thought this would just be a few episodes but it took 13 episodes to go through everything Bart thought was fun about this deceptively simple programming language.
\n\nThis final installment in the jq series covers querying nested data structures with the `recurse` command. One of the really fun parts of the episode is when he teaches us how to dramatically simplify our code, a concept that's often called syntactic sugar. We get to do `if` statements for the first time, where I wondered why he didn't let us have them earlier! I was cross with him for holding out on us with `try-catch` too because it would have made our coding so much easier. But that was the real theme of this installment \u2013 we had to learn the way everything works before learning the shortcuts.
\n\nIn the finale, he gives us a few of what he calls "honourable mentions" \u2013 little tidbits that came in handy at times.
\n\nYou can find Bart's fabulous tutorial shownotes at pbs.bartificer.net.
\n\nRead an unedited, auto-generated transcript with chapter marks: CCATP_2024_06_07
\n\nJoin our Slack at podfeet.com/slack and look for the #pbs channel, and check out our pbs-student GitHub Organization. It's by invitation only but all you have to do is ask Allison!