The REAL Reason GOTO is Considered Harmful

Man standing on a table in King Arthur’s court: “So then I typed GOTO 500″ — and here I am!
Comic taken from the book Thinking Forth.
Click the comic to see it in its original context.

(If you’re wondering why someone would GOTO a number, it’s likely that you’re too young to have worked with versions of BASIC that required line numbers. Consider yourself very, very, very lucky.)

Cross-posted to the Tucows Developer Blog

8 replies on “The REAL Reason GOTO is Considered Harmful”

Young? hmm… well, 10 years ago they were teaching basic with line numbers at my high school.

oh no… I’m old!

I’m 20 now. When I was 10 or so I had a little v-tech play laptop that had basic. Sadly, v-tech has the feature no longer.

Comments are closed.