I noticed that an online shop didn't offer Paypal as payment option but on the same checkout page they said they do.
I sent them a polite mail with a screenshot pointing out the discrepancy. And so began a back-and-forth in which they tried to prove that I was wrong and I - looking deeper into their sourcecode - found increasingly horrifying things.
Over 3000 positive reviews were hidden via a JS loop below the footer. Apparently an attempt to SEO on a checkout page.
This is a real screenshot of actual production code. It ran for years and helped putting lots of food on the table. #refactoring #programming #imperative #codinghorror
#refactoring #programming #imperative #codinghorror
@LinuxJedi I regularly get asked if I am #CodingHorror Jeff Atwood. I would like to meet him someday.