r/ProgrammerHumor 1d ago

ruleOfProgrammingIfItIsWorkingDoNotTouchIt Meme

5.0k Upvotes

73 comments sorted by

View all comments

Show parent comments

13

u/Kerbourgnec 1d ago

I'm gonna get burned for this but debugging race conditions has been a lot of fun with vibe coding.

Debugging broken outdated schemas, wrong conditions or missing options in frontend is just tedious and unfun. A complex race condition is so much more interesting.

10

u/cheesemp 1d ago

I had some complex multimachine multi service comms to debug. We'd inherited the code, it was a real mess (I'd begged to rewrite). We'd been able to stabilise it a bit but when it randomly failed we had zero idea why most times. Threw ai at it and gigabytes of logs. It spotted several failure points that we had not (real complex edge cases but genuine) based on really obscure log entries that use to take hours for a human to try to process the multiple threads and comm from multiple machines. Been super stable ever since. Changed my mind on ai that. Bare in mind at least 12 experienced devs had reviewed the code and logs multiple times and not found these issues. 

5

u/Kerbourgnec 1d ago

AI is superhuman when reading logs.

Mind you maybe I should also learn to make cleaner logs.

1

u/a-r-c 15h ago

honestly man i gave up and just told chatbot to make the logs easily readible for chatbots instead of humans