I just started building some logic circuits for gaining some experience in the summer while waiting for the next semester and I learnt about the concept of pull-up and pull-down resistors. The concept is understandable; for the case of pull-down resistors, they are for connecting a logic gate to the LOW state without causing the HIGH state to short to the ground and damaging the circuit when the logic circuit is switched to HIGH state with a switch.
What I don't understand is: why instead of connecting the logic gate to the ground permanently to get a LOW state and switching the HIGH state ON and OFF to change its state, why aren't we using an SPDT switch to switch between LOW and HIGH states without needing any resistor? Such comparison below: