Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

GOTO

Name: Anonymous 2007-09-08 1:56 ID:SPZa9/Wp

There was a little boy named Charlie. For his 10th birthday, his dad gave a computer. Charlie was quite curious. He wanted to know how programs worked. He learned BASIC and became pretty good at it. Before he knew it he was programing in C++ making ENTERPRISE QUALITY CODE for a bank in Utah at 23! He made a complex but easy to use banking program for all the computers. While developing his software, he thought it would be funny to make a little secret, or an 'easter egg' as some call it. It would be a simple BASIC interputer since thats what he learn first, But there was a minor glitch. Any unrecognized keyword be call a random function. He built a simple basic program that would run when ever the secret was accessed:

10 INPYT"Whats you name?";N$
20 IF N$="" THEN GOTO 10
30 PRINT NAME
40 END

he made a typo...

Years later, a employee as working late at the bank. He uncovered this easter egg antecedently. All of a sudden, the screen goes black. Text scrolls fast, whizzing by, randomly transfuring money, sending money, making money, all over the world. No one knows whats going on, stocks go down, everyone goes poor. People die. Wars around the earth, unfold... Nukes whizzing through the air. Mushroom clouds everywhere. The human race is wiped out...

ALL BECAUSE OF GOTO

Name: Anonymous 2007-09-08 1:58 ID:Ggq4sgK0

It is as they say. goto considered harmful

Name: Anonymous 2007-09-08 2:07 ID:Ud2bT/6j

>>1
More proof that only idiots too stupid to use it avoid goto.

Name: Anonymous 2007-09-08 4:40 ID:m3pIlwjR

>>3
Thread over.

Name: Anonymous 2007-09-08 5:06 ID:r8Rdgsjl

>>1 Any unrecognized keyword be call a random function.
What.

Name: Anonymous 2007-09-08 5:10 ID:Heaven

>>5
Synergic conversion to improve the proactive, customer-centric ENTERPRISE-level code.

Name: Anonymous 2007-09-08 7:41 ID:cHI9ew7n

how do i make a basic interputer

Name: Anonymous 2007-09-11 6:59 ID:8ArvHx0T

GOTO HELL
Undefined line error

Name: Anonymous 2007-09-11 11:27 ID:Qpl/DcB6

#DEFINE HELL 666
666 GOTO HELL


DOES IT COMPUTE?!

Name: Anonymous 2007-09-11 11:28 ID:OQHD/EPv

>>9
no

Name: Anonymous 2007-09-11 11:31 ID:RBDwjr1e

Why is goto so bad, seriously?

Name: Anonymous 2007-09-11 11:39 ID:pAPWNVv7

>>11 because it jumps around in your code

Name: Anonymous 2007-09-11 12:04 ID:iqhYo4tM

>>11
Because it makes your code difficult to read, and kinda unpredictable

Name: Anonymous 2007-09-11 13:59 ID:1MrQ0ACP

>>11
Because it fucks up your execution model. You only want to use selection and loop constructs in imperative languages, for readability and traceability.

break, continue, multiple returns etcetera are equally harmful.

Name: Anonymous 2007-09-11 14:01 ID:/CphABdx

>>11
Because Dijkstra says so. Dijkstra.

Name: Anonymous 2007-09-11 14:15 ID:Heaven

>>15
Who?

Name: Anonymous 2007-09-11 14:23 ID:Heaven

>>16
Dijkstra.

Name: Anonymous 2007-09-11 14:28 ID:Heaven

>>17
Who?

Name: Anonymous 2007-09-11 14:39 ID:/CphABdx

>>18
Dijkstra.

Name: Anonymous 2007-09-11 14:41 ID:Heaven

>>18
DIJKSTRA.

Name: Anonymous 2007-09-11 14:48 ID:Heaven

>>19,20
Who?

Name: Anonymous 2007-09-11 14:57 ID:Heaven

>>21
DIJKSTRA.

Name: Anonymous 2007-09-11 15:04 ID:7MwNPq8v

i dunno lol ¯\(°_o)/¯

Name: Anonymous 2007-09-11 15:13 ID:Heaven

>>22
Who?

Name: Anonymous 2007-09-11 15:42 ID:UbRKT3Ek

Goto is always OMG OPTIMIZED because it needs no branch prediction logic and doesn't fuck around with your CPU pipelining.

Name: Anonymous 2007-09-11 16:28 ID:QcymfH6T

>>25
He's got a point there...

Name: Anonymous 2007-09-11 16:42 ID:3CmLEDOg

????  ♩ │ ♬ │ ▪ │ ♫♮♫

Name: Anonymous 2007-09-11 16:43 ID:3CmLEDOg

>>27
I invented BBCode music

Name: Anonymous 2007-09-11 16:45 ID:OQHD/EPv

>>27
>>28
EPIC!

Name: Anonymous 2007-09-11 16:45 ID:OQHD/EPv

>>26
no he doesn't

Name: Anonymous 2007-09-11 16:46 ID:Heaven

>>27
HOLY FUCK! THE GREATEST BBCODE DISCOVERY SINCE SUP AND SUB.

Name: Anonymous 2007-09-11 16:50 ID:yXvA1OLH

>>27
Ahahaha that's brilliant. Well done, sir!

Name: Anonymous 2007-09-11 16:51 ID:Heaven

MOAR STAVES OR GTFO

Name: Anonymous 2007-09-11 16:52 ID:Heaven

Next Practical /prog/ Challenge: BBCode notation program?

Name: Anonymous 2007-09-11 23:22 ID:ZVoGMUnw

================

Name: Anonymous 2007-09-12 5:04 ID:vDdqpeh6

>>1
They'd have recovered pretty easily if it weren't for your horrible spelling. GOTO HELL, faggot.

Name: Anonymous 2007-09-12 9:07 ID:QEN9n6vF

= = = = = = = = = = =
THE ROAD TO ENLIGHTENMENT
= = = = = = = = = = =

Name: Anonymous 2009-02-25 8:01

A t s e   g arrays classes   etc Once thing   that you need   to allocate another   location to hold   the highest number   between 97 and.

Name: Anonymous 2010-12-22 2:24


Don't change these.
Name: Email:
Entire Thread Thread List