Learn essential defensive programming techniques for shell scripting in this 37-minute conference talk from JNUC 2023. Discover how principles from defensive driving - hazard perception, risk avoidance, reducing overconfidence, and situational awareness - can be applied to create stronger and safer shell scripts and extension attributes for Jamf Pro administration. Explore practical examples that demonstrate how to avoid common pitfalls, write clear and comprehensible code, and develop resilient scripts that can handle unexpected situations. Master techniques applicable to both simple 5-line extension attributes and complex security shell scripts exceeding 1000 lines, enhancing your ability to write more robust code for Jamf Pro administration.
Overview
Syllabus
Defensive Driving for the Shell | JNUC 2023
Taught by
Jamf