Re:Step Away from Stack Overflow
by remram on Thursday December 23, 2021 @01:04PM
(#29664518)
I go one further. If I do use a piece of code from Stack overflow (usually a workaround for some API pain point or specific technical gimmick), I linked to the answer from a comment. I then built a tool to notify me if that answer gets new comments or new answers are added. [1] Similar to how I check for new versions of my npm/pip/gem/cargo dependencies, I check for new info on my Stack overflow dependencies.
Re:Step Away from Stack Overflow
by Larrikin on Thursday December 23, 2021 @07:21PM
(#29668285)
I link to SO in a comment if there's some bug I'm working around or similar with an explanation about why a strange code snippet is doing something that looks strange. There is usually a TODO so that the code can be removed when the bug is fixed.
[1]: https://github.com/remram44/depoverflow