The condensor lesson is an easy one to remember after the first time your finger is touching the jumper wire you're using to activate a relay or such.
What was throwing me a bit was that I'm used to seeing a resistor doing the job. I suppose they employed a cap' because of the polarity switching required?