BOOGIEMAN <[EMAIL PROTECTED]> wrote:
> Please include "goto" command in future python realeses
> I know that proffesional programers doesn't like to use it,
> but for me as newbie it's too hard to get used replacing it
> with "while", "def" or other commands
It was only when I read this thread t
> Heiko wrote:
> SETUP = object()> ELSE =
object()> BREAK = object()
>
> machine = {"WAITING FOR ACTION":>
{customer_drops_coin:"COIN HAS BEEN DROPPED",>
customer_selects_beverage:"ORDER RECEIVED",>
customer_cancels_order:"ACCOUNT CLOSURE IS
Boogieman wrote:
> Please include "goto" command in future python realeses
> I know that proffesional programers doesn't like to use it,
> but for me as newbie it's too hard to get used replacing it
> with "while", "def" or other commands
I'm assuming you mean "python releases", "professional prog
On Sunday 06 March 2005 14:26, Anthra Norell wrote:
>
Wow, I never thought I'd say this, but this certainly is an ingenious use of
goto... But, nevertheless, I don't think this is applicable to Python as a
way of justifying goto in the language, as your program doesn't have a split
between abs
On Sun, 06 Mar 2005 22:52:10 +, rumours say that Michael Hoffman
<[EMAIL PROTECTED]> might have written:
>Christos TZOTZIOY Georgiou wrote:
>
>> Argument against your "only" in "you can only use goto":
>>
>> http://www.entrian.com/goto/
>
>That is sick.
>
>I'm clearly an amateur at obfuscatin
On Sat, 05 Mar 2005 14:32:27 +, rumours say that Michael Hoffman
<[EMAIL PROTECTED]> might have written:
>BOOGIEMAN wrote:
>> Please include "goto" command in future python realeses
>
>As has been said before, you can only use goto in Python if
>you are using Python with line numbers:
>
>http:
Grant Edwards <[EMAIL PROTECTED]> diagnosed
>
> Troll.
>
I first checked my calendar to make sure it wasn't April 1, but some folks just
can't wait, can they.
And another thought: all this use of alphanumeric characters --- aren't we
obfuscating the pure binariness we should all know and l
Christos TZOTZIOY Georgiou wrote:
Argument against your "only" in "you can only use goto":
http://www.entrian.com/goto/
That is sick.
I'm clearly an amateur at obfuscating Python. Although my
implementation is much simpler. ;)
--
Michael Hoffman
--
http://mail.python.org/mailman/listinfo/python-lis
Paul McGuire wrote:
> At the risk of beating this into the Pythonic ground, here is a
> generator version which collapses the original nested loop into a
> single loop, so that break works just fine:
Indeed. For some things I'm still in the pre-generator days of
Python. If I worked at it I think
> Please
include "goto" command in future python realeses> know that proffesional
programers doesn't like to use it, > but for me as newbie it's too hard
to get used replacing it > with "while", "def" or other commands>
--
I believe the bad reputation of 'goto' goes back to
the originators
Dennis Lee Bieber wrote:
On 5 Mar 2005 08:00:23 -0800, [EMAIL PROTECTED] declaimed the following
in comp.lang.python:
"explicit GOTO"'. Goto's are less dangerous when they are in the
forward direction, to code appearing later.
UGH... That is the one direction I always avoid (in FORTRAN 77).
Typica
[EMAIL PROTECTED] wrote:
Goto is useful [...] when there is a clean-up section of a function
that should be executed for various error conditions.
Like this?
def foo():
f = open('foo.txt')
try:
# do stuff with f
finally:
f.close()
--
http://mail.python.org/mailman/listin
At the risk of beating this into the Pythonic ground, here is a
generator version which collapses the original nested loop into a
single loop, so that break works just fine:
.def getCombinations(*args):
.if len(args) > 1:
.for a0 in args[0]:
.for remainder in ge
beliavsky wrote:
> Goto is useful in breaking out of a nested loop and when there is a
> clean-up section of a function that should be executed for various
> error conditions.
But much less useful in languages like Python which have exception
handling.
At rare times I've needed something like
fo
Dave Reed wrote:
Or more likely a troll. Google for:
Boogieman yahoo troll
and you'll see this isn't the only place he/she does this sort of thing.
I'm not convinced.
--
Michael Hoffman
--
http://mail.python.org/mailman/listinfo/python-list
On 2005-03-05, BOOGIEMAN <[EMAIL PROTECTED]> wrote:
> Please include "goto" command in future python realeses
> I know that proffesional programers doesn't like to use it,
> but for me as newbie it's too hard to get used replacing it
> with "while", "def" or other commands
Troll.
--
Grant Edwa
Torsten Bronger wrote:
> Hallöchen!
>
> BOOGIEMAN <[EMAIL PROTECTED]> writes:
>
> > Please include "goto" command in future python realeses I know
> > that proffesional programers doesn't like to use it, but for me as
> > newbie it's too hard to get used replacing it with "while", "def"
> > or othe
Torsten Bronger wrote:
> Accordings to Stroustrup's C++ book, the only good reason for goto
> statements in a language is to have it in computer-generated code.
I've needed goto statements when translating old code written
with gotos.
> Most gotos are disguised function calls, so
> just copy the
HallÃchen!
Dave Reed <[EMAIL PROTECTED]> writes:
> On Saturday 05 March 2005 09:34, Thomas RÃsner aka TRauMa wrote:
>
>> [...]
>>
>> Technically, as a newbie you shouldn't know about GOTO at all. So
>> you're more a "Tainted by previous spaghetti code practices"-guy
>> than newbie.
>
> Or more l
On Saturday 05 March 2005 09:34, Thomas Rösner aka TRauMa wrote:
> BOOGIEMAN wrote:
> > Please include "goto" command in future python realeses
> > I know that proffesional programers doesn't like to use it,
> > but for me as newbie it's too hard to get used replacing it
> > with "while", "def" o
HallÃchen!
BOOGIEMAN <[EMAIL PROTECTED]> writes:
> Please include "goto" command in future python realeses I know
> that proffesional programers doesn't like to use it, but for me as
> newbie it's too hard to get used replacing it with "while", "def"
> or other commands
Accordings to Stroustrup'
BOOGIEMAN wrote:
Please include "goto" command in future python realeses
I know that proffesional programers doesn't like to use it,
but for me as newbie it's too hard to get used replacing it
with "while", "def" or other commands
Technically, as a newbie you shouldn't know about GOTO at all. So
BOOGIEMAN wrote:
Please include "goto" command in future python realeses
As has been said before, you can only use goto in Python if
you are using Python with line numbers:
http://groups-beta.google.com/group/comp.lang.python/msg/98264a0daa007c46
> I know that proffesional programers doesn't like t
Please include "goto" command in future python realeses
I know that proffesional programers doesn't like to use it,
but for me as newbie it's too hard to get used replacing it
with "while", "def" or other commands
--
http://mail.python.org/mailman/listinfo/python-list
24 matches
Mail list logo