What's always amazed me about the 8-bit and 16-bit console days is the relatively high quality of the code. It might be ugly, but it's
relatively defect free for the most part. My understanding is that Nintendo did significant QA testing before providing their "Seal of Approval" and allowing the game to be shipped.
I know there are a few glitches and bugs, but it's still amazing to me that I can't think of a single 8 or 16 bit game published on Nintendo or Sega's consoles that had game killing bugs during normal gameplay. They didn't lock-up, reboot the system, glitch out, etc. Even when monkeying around with the weird glitches, the games stayed pretty rock solid.
I know today's games are incredibly more complex, but I don't think they go through the rather rigorous gameplay testing of those old days.
(then again, it was every kid's dream to be a gameplay tester, until they found out it was a minimum wage job that involved following a specific script to test a sprite collision bug on level 5 of Yo! Noid for 8 hours straight)