It wasn’t collectively known that software was hard to do right at that time. If it always performed as intended it would have made for a less expensive and perfectly safe machine. It’s the textbook case in doing software wrong because there wasn’t one that happened before it.
That’s the YouTuber backyard scientist running away after he tried to trigger the trap