Chapter 5Simplify Loops
My auto mechanics teacher in high school once started off class by holding up a large adjustable wrench. âSome people think this is the only tool they need,â he said. He demonstrated how someone could use the wrench to unscrew a bolt, take off a screw, and pry off a gasket like a set of pliers. âThey even use it as a hammer,â he said as he swung the wrench in the air.
âBut if all you use is a wrench, youâll round off your bolts. Youâll snap off fan blades, dent your car, and generally make things worse.â As he finished, he placed the wrench on the bench. âAnd thatâs why we have specialized tools,â he said as he showed us how to use ratchet wrenches, torque wrenches, spark plug gap gauges, and all ...
Get Simplifying JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.