Almost ruined my whole project by copying code from a forum in 2021
Back in 2021 I was building a small inventory app and I grabbed a chunk of SQL from a Stack Overflow thread. It worked in my test but when I put it live, it silently dropped duplicate entries. Took me 3 days and a friend at a local meetup to spot that it used a weird cursor that skipped rows. Now I always rewrite snippets line by line and test with bad data on purpose. Has anyone else gotten burned by copy paste from an old thread?