There are a lot of bad examples on the internet, "try this, it worked for me" but only because of some other rule up the cascade that the person answering isn't aware of.
there's plenty of this for JS too and somehow it's much much better at that... I wonder what the difference is, JS is more logical?