News for hackers. Stuff that matters.
Re:The Grug Brained Developer (2022) by josephg on Tuesday June 17, 2025 @10:30PM (#44306147)
There's another story I heard once from Rob Pike about debugging. (And this was many years ago - I hope I get the details right).

He said that him and Brian K would pair while debugging. As Rob Pike told it, he would often drive the computer, putting in print statements, rerunning the program and so on. Brian Kernighan would stand behind him and quietly just think about the bug and the output the program was generating. Apparently Brian K would often just - after being silent for awhile - say "oh, I think the bug is in this function, on this line" and sure enough, there it was. Apparently it happened so often enough that he thought Brian might have figured out more bugs than Rob did, even without his hands touching the keyboard.

Personally I love a good debugger. But I still think about that from time to time. There's a good chance I should step away from the computer more often and just contemplate it.

Re:The Grug Brained Developer (2022) by artursapek on Tuesday June 17, 2025 @10:40PM (#44306200)
some of my best work as a programmer is done walking my dog or sitting in the forest
Re:The Grug Brained Developer (2022) by rusk on Wednesday June 18, 2025 @02:58AM (#44307315)
It’s amazing what even the most subtle perturbation in output can tell you about the internal state of the code.
Re:The Grug Brained Developer (2022) by noisy_boy on Wednesday June 18, 2025 @02:02PM (#44312007)
where you=Brian
Re:The Grug Brained Developer (2022) by notnullorvoid on Wednesday June 18, 2025 @06:48AM (#44308684)
Sounds like Rob does use a debugger and it's name is Brian.
Re:The Grug Brained Developer (2022) by dgb23 on Wednesday June 18, 2025 @02:31PM (#44312232)
You might be confusing Brian with Ken?
Re:The Grug Brained Developer (2022) by josephg on Thursday June 19, 2025 @05:09AM (#44316808)
Yeah that sounds right. Thanks for the correction!
Re:The Grug Brained Developer (2022) by melodyogonna on Thursday June 19, 2025 @02:53AM (#44316150)
I think you're misremembering here, the other party is Ken Thompson not Brian K