Hacker News new | ask | show | jobs
by celeritascelery 2402 days ago
> When you take an algorithm from a book, or copy and paste from stack overflow, you put a comment in the code with a link to the source, really no different than how you'd cite a quote in a paper.

You do this? That is very impressive. I have never meant anyone who did that. Myself included.

1 comments

I tend to put a link to the SO answer in a comment. That way whoever is looking at it later (mostly me in a few months) can understand what prompted that solution.