> You’re doing option A already, right? This is just standard operating procedure when it comes to finding code on the internet – a hyperlink comment ensures you’ll be able to debug down the line.
XD
There goes stack overflow. I'm not going to track and provide attribution of every snippet I ever read, sorry. I'd rather just not go there at all.
I'm all for providing attribution for things that are non trivial and substantial, but a typical SO post does not warrant the effort IMO.