from Hacker News

Ask HN: What's the worst thing you've ever seen when reviewing code

by treebeard5440 on 12/2/23, 3:48 AM with 3 comments

I have two (both many years ago)

1. Every line of every file in the project had its line ending changed

2. Python script that called a python script that called another python script

Anyone else have some good ones?

  • by l_j_w on 12/2/23, 4:39 AM

    A contractor placed a web service call in the onPaint() method of a .NET Windows Forms application. This blocked the paint from happening until the service call finished, causing the app to just be a blank white window.
  • by adastra22 on 12/2/23, 3:52 AM

    Duff’s device.
  • by Tommstein on 12/2/23, 4:09 AM

    Off the top of my head, code that didn't even run due to syntax errors.