The question says it all - I want to connect (possibly) VCC (e.g. via a pushbutton) to an NodeMCU input pin, and read the value (to see if the pushbutton is depressed).
If you connect VCC to ground-level (with no resistor), too much current will flow, and you risk (almost certain) damage to your board.
Does this apply to input pins?
If "sometimes", when? Is the answer the same for Arduino/Atmel? For other chips?