Eli5: How does a glitch happen?

242 views

How does a glitch happen in a video game and how do they fix it? If coding is what I think it is and that’s where the issue lies, how do you locate a glitch in endless amounts of code?

In: 0

10 Answers

Anonymous 0 Comments

You’re right. It’s generally a programming mistake.

Finding and fixing these is a skill that you develop over time when you work as a software developer. Some of this is intuition. Based on what’s broken, I know that the issue is probably in this chunk of code so I’ll look there. Other times, you’ll need some way to narrow it down. Like, I know that these three sections of code work together to make this happen, so I’ll see which specific one is behaving incorrectly and that will narrow my search. Developers also have tools that can help them do that. These debugging tools can do things like pause the program when it hits a certain line and lets you look at what specifically a piece of code is doing in that situation.

You are viewing 1 out of 10 answers, click here to view all answers.