Skip to content

Bug

Easy — everyone uses thisGeneral Dev

ELI5 — The Vibe Check

A bug is anything in your code that makes it behave wrong. The word comes from 1947 when an actual moth got stuck in a computer relay and caused a malfunction. Today a bug can be a typo, a wrong calculation, a misunderstood requirement, or just bad luck. Finding and killing bugs is half the job.

Real Talk

A bug is a defect in software that causes it to produce incorrect results or behave unexpectedly. Bugs are categorized by type (syntax, runtime, logic, concurrency, UI) and severity (critical, major, minor). Bug tracking systems (Jira, GitHub Issues, Linear) manage bug reports through lifecycle states: open, in-progress, fixed, verified.

Show Me The Code

// The original bug — from Grace Hopper's log, Sept 9, 1947:
// "First actual case of bug being found"
// (A moth was found in the Mark II computer relay)

// Modern bug example:
function isAdult(age) {
  return age > 18; // BUG: should be >= 18
}     // 18-year-olds incorrectly rejected

When You'll Hear This

"File a bug report for this." / "I found a bug — it calculates the discount incorrectly for premium users."

Made with passive-aggressive love by manoga.digital. Powered by Claude.