bug
A mistake in a program that makes it fail or behave wrongly.
In more detail
Bugs can be syntax errors, runtime errors or logic errors; the last kind is the hardest to find because nothing complains. A famous early example is a moth found stuck in a relay of the Harvard Mark II computer, though engineers were already calling faults bugs long before that.
Examples
git bisect finds the first commit with the bugbugfix/456-fix-headerRelated terms
- git bisect — A command that finds the commit that introduced a bug by binary search: you mark commits good or bad and Git checks out the next one to test.
- git blame — The command that shows, for each line of a file, the commit, author and date that last changed it.
- debugging — Finding and fixing the cause of a bug, by observing what the program actually does and comparing it with what it should do.
- logic error — A mistake that lets a program run without any error message but makes it produce the wrong result.
- runtime error — An error that happens while a program is running, such as dividing by zero or using an undefined name, raised as an exception.
Taught in
- The Three Areas: Working Tree, Index, Repository — Advanced Git Internals & Distributed Workflows
- Conventional Commits — Advanced Git Internals & Distributed Workflows
- HEAD, And Why Detached HEAD Is Not An Error — Advanced Git Internals & Distributed Workflows
- The Pull Request, And Branch Naming — Advanced Git Internals & Distributed Workflows
- Reviewing Code Well — Advanced Git Internals & Distributed Workflows
- Cherry Picking, Reflog, And Getting Work Back — Advanced Git Internals & Distributed Workflows
- Investigating History: blame, bisect And worktree — Advanced Git Internals & Distributed Workflows
- What Python Is, And Where It Came From — Hands-on Python: Complete Video Course & Book
- Installing Python On Linux — Hands-on Python: Complete Video Course & Book
- Where Python Lives: PATH And Versions — Hands-on Python: Complete Video Course & Book
- Exceptions: try, except, else, finally — Hands-on Python: Complete Video Course & Book
- Debugging: print, breakpoint, and the debugger — Hands-on Python: Complete Video Course & Book
- Testing With pytest — Hands-on Python: Complete Video Course & Book
- Tuples, And The Comma That Makes Them — PCEP Certified Entry-Level Python Programmer (PCEP-30-02) Exam Prep