H
Hayri ERDENER
hi,
what is the equivalent of C languages' goto statement in python?
best regards
what is the equivalent of C languages' goto statement in python?
best regards
Hayri said:what is the equivalent of C languages' goto statement in python?
Hayri said:hi,
what is the equivalent of C languages' goto statement in python?
best regards
Hayri said:hi,
what is the equivalent of C languages' goto statement in python?
best regards
No, but some of goto's use cases can be covered by unconditional jumps
provided by exceptions. [...]
hi,
what is the equivalent of C languages' goto statement in python?
best regards
Hayri said:what is the equivalent of C languages' goto statement in python?
Download the goto module:
http://www.entrian.com/goto/
And you can use goto to your heart's content. And to the horror of all
your friends/coworkers.
STeVe
rbt said:Shouldn't that be "to the horror of all your goto-snob friends."
IMO, most of the people who deride goto do so because they heard or read
where someone else did.
rbt said:Shouldn't that be "to the horror of all your goto-snob friends."
IMO, most of the people who deride goto do so because they heard or read
where someone else did.
Many of the world's most profitable software companies (MS for example)
have thousands of goto statements in their code... oh the horror of it
all. Why aren't these enlightened-by-the-gods know-it-alls as profitable
as these obviously ignorant companies?
Shouldn't that be "to the horror of all your goto-snob friends."
IMO, most of the people who deride goto do so because they heard or read
where someone else did.
Many of the world's most profitable software companies (MS for example)
have thousands of goto statements in their code... oh the horror of it
all. Why aren't these enlightened-by-the-gods know-it-alls as profitable
as these obviously ignorant companies?
rbt said:Many of the world's most profitable software companies (MS for example)
have thousands of goto statements in their code... oh the horror of it
all. Why aren't these enlightened-by-the-gods know-it-alls as profitable
as these obviously ignorant companies?
Steven said:Download the goto module:
http://www.entrian.com/goto/
And you can use goto to your heart's content. And to the horror of all
your friends/coworkers.
STeVe
Mike said:Because profitability has *nothing* to do with code quality, and
everything to do with marketing. MS, in particular, has done an
excellent job of divorcing code quality from their bottom line by
shuffling the bulk of the support work off to other companies:
hardware vendors who bundle MS software, system integrators, and
customers friends and family being very high on the list.
That they felt the need to do this speaks volumes about their code
quality.
rbt said:IMO, most of the people who deride goto do so because they heard or read
where someone else did.
Fernando said:That is actually a _really_ cool piece of code, in terms of showing off the
kind of things which are possible in python if you're willing to be a little
sneaky.
Many of the world's most profitable software companies (MS for
example) have thousands of goto statements in their code... oh the
horror of it all. Why aren't these enlightened-by-the-gods
know-it-alls as profitable as these obviously ignorant companies?
rbt said:IMO, most of the people who deride goto do so because they heard or read
where someone else did.
Leif said:1 GOTO 17
2 mean, GOTO 5
3 could GOTO 6
4 with GOTO 7
5 what GOTO 3
6 possibly GOTO 24
7 you! GOTO 21
8 that GOTO 18
9 really, GOTO 23
10 understandable?
11 neat. GOTO 16
12 and GOTO 25
13 are GOTO 9
14 I GOTO 26
15 wrong GOTO 20
16 I GOTO 2
17 Yes, GOTO 14
18 simple GOTO 12
19 agree GOTO 4
20 with GOTO 22
21 Gotos GOTO 13
22 something GOTO 8
23 really GOTO 11
24 be GOTO 15
25 easily GOTO 10
26 totally GOTO 19
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.