Unfathomable Depths
sláinte
You used a goto statement.
You're post is invalid.
You're post is invalid.
WizardStan said:You used goto. A real dev would know that you never, under any circumstance, ever use a goto, least of all the edge case where a goto actually makes sense. Simply not overengineered enough. No Pandora for you. Only velociraptors.krosfyah said:Can I have my free Pandora now?Code:10 PRINT"I am a dev" 20 GOTO 10
skeezix said:goto is entirely valid and useful, in the right cases; for anyone with a clue, they will note that things like 'while' loops are just special cases of goto internally anyway
Everything is a tool; onyl fools ignore tools at their disposal, but of course only fools use the wrong tool at the wrong time. Goto has its place (and not too damned often), but it can be used very well.
Anyone who says 'never use' something is nearly as bad as someone who says 'always use'; other end of the scale is just as bad
jeff
WizardStan is my hero of the day; "only velociraptors" is the best response to generalized questions
"Would you like a burger or fries with that?" "Only velociraptors!"
borgqueenx said:give a free pandora to someone willing to make a DS emulator, a N64 emulator, a psp emulator
Never said he was a good devconso said:Yeah, come back when you managed to hide the same functionality in 200 pages of obscure code that nobody but you understands.WizardStan said:You used goto. A real dev would know that you never, under any circumstance, ever use a goto, least of all the edge case where a goto actually makes sense. Simply not overengineered enough. No Pandora for you. Only velociraptors.krosfyah said:Can I have my free Pandora now?Code:10 PRINT"I am a dev" 20 GOTO 10
oh cmon the use of goto doesnt have to be depicted so badly, what should be depicted is the "spaguetti"Tripmonkey_uk said:Never said he was a good devconso said:Yeah, come back when you managed to hide the same functionality in 200 pages of obscure code that nobody but you understands.WizardStan said:You used goto. A real dev would know that you never, under any circumstance, ever use a goto, least of all the edge case where a goto actually makes sense. Simply not overengineered enough. No Pandora for you. Only velociraptors.krosfyah said:Can I have my free Pandora now?Code:10 PRINT"I am a dev" 20 GOTO 10
...
GOSUB SuperAwesomeRoutineFullOfSkillfulCode
...
torpor said:10 print "I wanna waaah!"
20 gosub 10
30 rem boo-yah!
borgqueenx said:give a free pandora to someone willing to make a DS emulator, a N64 emulator, a psp emulator
torpor said:I used goto today in fact, its perfectly valid. Well okay, I do driver development, there are times when you *have* to use a goto and have no other choice ..
What could God do with a Pandora anyways...Exophase said:borgqueenx said:give a free pandora to someone willing to make a DS emulator, a N64 emulator, a psp emulator
God doesn't need a Pandora, he can will one into existence.
You don't like to be quoted, but I left the context in. Sig-worthyExophase said:borgqueenx said:give a free pandora to someone willing to make a DS emulator, a N64 emulator, a psp emulator
God doesn't need a Pandora, he can will one into existence.
For the record, you guys know I was joking when I said to never ever use goto, right? When I make what I think is an obvious joke which spawns serious discussion, I start to wonder if I wasn't obvious enough.Gren said:Well said.
I'm an IBM Z/OS High Level Assembler developer, and unconditional branches are used extensively, and with extreme prejudice in many programs.
Of course the comedy value is low in such modules, at least compared with the excellent BXLE back axle instruction and other fabulous bizarre examples.
Of course you need to be covered in marmite and dancing a jig before being allowed to use these "non-standard" instructions.....