Skip to content

Latest commit

 

History

History
6 lines (3 loc) · 414 Bytes

File metadata and controls

6 lines (3 loc) · 414 Bytes

Session 07 Reflection

Why Lists Beat Variables at Scale

Lists allow for automation through iteration. Instead of writing separate code blocks for 100 different variables, a single for loop can process an entire list of targets using one set of logic. This reduces the risk of syntax errors, keeps the code clean, and allows the script to scale from 5 to 5,000 hosts without needing to rewrite the program.