For work: If it is open source, I see if it works for what I needed. If that is the case, I just stop what I was doing, and implement it. If the project need something to work for my case, I first make the change in the forked version, then if it is something generic post a PR to the original project.
If is a personal project I embark for learning purposes, I read the code, compare it with my implementation, I continue with my project with the knowledge gain.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.