- published: 11 Jul 2016
- views: 273319
Goto (goto, GOTO, GO TO or other case combinations, depending on the programming language) is a statement found in many computer programming languages. It performs a one-way transfer of control to another line of code; in contrast a function call normally returns control. The jumped-to locations are usually identified using labels, though some languages use line numbers. At the machine code level, a goto is a form of branch or jump statement. Many languages support the goto statement, and many do not (see language support).
The structured program theorem proved that the goto statement is not necessary to write programs; some combination of the three programming constructs of sequence, selection/choice, and repetition/iteration are sufficient for any computation that can be performed by a Turing machine, with the caveat that code duplication and additional variables may need to be introduced. At machine code level, goto is used to implement the structured programming constructs.
In the past there was considerable debate in academia and industry on the merits of the use of goto statements. Use of goto was formerly common, but since the advent of structured programming in the 1960s and 1970s its use has declined significantly. The primary criticism is that code that uses goto statements is harder to understand than alternative constructions. Goto remains in use in certain common usage patterns, but alternatives are generally used if available. Debates over its (more limited) uses continue in academia and software industry circles.
go, go, go, go, go
go, go, go, go
go, go, go
go, go
[chorus]
Today I hate
Cause you're great
Go to hell
Don't yell
Please don't tell
Someone about this
[verse 1]
We lay in bed
Then came my dad
He sead
Please don't read
I need a cheat
Please cut the meat
And I sead
I changed my name
Because my fame
I don't have bugs
I don't love hugs
I have much time
So I can rime
[chorus x2]
Today I hate
Cause you're great
Go to hell
Don't yell
Please don't tell
Someone about this
[verse 2]
Now its time to go
To your great show
I hate you
Cause you're great too
Sometimes I am high
Don't ask why
You ask do you hate me
I sead I changed my name
Because my fame
I don't have bugs
I don't love hugs
I have much time
So I can rime
[chorus x2]
Today I hate
Cause you're great
Go to hell
Don't yell
Please don't tell
Someone about this
[verse 3]
We go to high school
I got a tool
But now
I don't know how
This is a great hit
And I said
I changed my name
Because my fame
I don't have bugs
I don't love hugs
I don't have much time
So I can rhyme
[chorus x3]
Today I hate
Cause you're great
Go to hell
Don't yell
Please don't tell
Someone about this
go, go, go, go, go
go, go, go, go
go, go, go
go, go
go to .... yeah
go to .... yeah