Development Concepts

Bug

An error in code that causes the program to behave incorrectly or crash.

Definition

An error in code that causes the program to behave incorrectly or crash. Debugging — finding and fixing bugs — is a core part of programming and develops critical thinking and problem-solving skills.

Example

If your loop runs 11 times instead of 10, that's a bug. If your app crashes when a user submits an empty form, that's a bug. Finding why it happens is the skill.

See it in context Learn how Bug fits into the bigger picture of how software actually works.

Read the Guide →