Whenever I find a great solution for a critical issue and I use code snippets from Stack Overflow, I always feel the urge to write a comment that tells that "this answer/question provided the solution that the following code uses".
Is this fashion done by anyone else? Is it beneficial to do?
Consider the fact that I'm working on a hobby project only, so nothing official or actual work-related.