Duplicate Reports
Today's anonymous submitter sends us a short snippet. They found this because they were going through code committed by an expensive third-party contractor, trying to track down a bug: every report in the database kept getting duplicated for some reason. This code has been in production for over a decade, bugs and all:
Visit Original Link →Duplicate Reports
Link: https://thedailywtf.com/articles/duplicate-reports
Context
Testing guys is the vibe of AI, testing code is becoming apparent as AI can produce code in matter of seconds. Learning the fundamentals has never been so vital.
Source: techstructive-weekly-73