2 ms·
For pinball, there was a bug with the collision detector in the 64 bit version they could not fix. "Two of us tried to debug the program to figure out what wa
by bolasanibk 11y ago
For pinball, there was a bug with the collision detector in the 64 bit version they could not fix.
"Two of us tried to debug the program to figure out what was going on, but given that this was code written several years earlier by an outside company, and that nobody at Microsoft ever understood how the code worked (much less still understood it), and that most of the code was completely uncommented, we simply couldn’t figure out why the collision detector was not working. Heck, we couldn’t even find the collision detector!"
Source: https://blogs.msdn.microsoft.com/oldnewthing/20121218-00/?p=5803/ https://blogs.msdn.microsoft.com/oldnewthing/20121218-00/?p=...
- dingo_bat 11y agoAs a newbie dev, I'm happy to see that even experts have difficulty navigating third-party code!
- i336_ 11y agoThis article has a pesky agenda that needs to be filtered for, but might be relevant: http://www.theverge.com/2015/12/30/10691290/twitter-mac-outsourced http://www.theverge.com/2015/12/30/10691290/twitter-mac-outs...
- bolasanibk 11y agoSometimes I have trouble with my own code if it is old enough. :)
- SixSigma 11y agoThe best one is when you read the code, say "this guy is terrible, who is it" and then find out it was you
- 72deluxe 11y agoI wonder how they did collision detection? I know pinball had a perspective view, but surely items were mapped on a 2D grid and detection done by comparing ball.xy versus object.xy ?