In programming, a statement that transfers control to another part of a program identified by a label. Also used colloquially to mean a reliable choice or first option.
Computer programming term from the 1950s, literally combining 'go' and 'to.' Became notorious after Edsger Dijkstra's 1968 paper 'Go To Statement Considered Harmful,' which argued it led to messy, hard-to-follow code. The colloquial sense developed from this computing usage.
The 'goto' statement sparked one of the most famous debates in computer science history, with programmers splitting into camps over whether it was a useful tool or a dangerous practice that created 'spaghetti code.' This debate helped establish structured programming principles that shape how we write software today.
Complete word intelligence in one call. Free tier — 50 lookups/day.