Recommended · for beginners
How To - Expand Digital Inputs with the 74HC165 + Test Code
Why people recommend it
Considered a clear explanation of adding more digital inputs to an Arduino with a 74HC165 shift register, complete with test code.
Watch for: Covers the input-focused 165 rather than the 595