On Wed, May 21, 2008 at 12:33 PM, Daniel Fetchinson
<[EMAIL PROTECTED]> wrote:
>>>> Or just:
>>>>
>>>> If command is "quit" ...
>>>
>>> Hmmm.  In Flaming Thunder, I'm using "is" (and "is an", "is a", etc)
>>> for assigning and checking types.  For example, to read data from a
>>> file and check for errors:
>>>
>>>      Read data from "input.txt".
>>>      If data is an error then go to ...
>>
>> Arf ! A goto !
>
> You are surely aware of the fact that the C source of python also uses
> goto at tons of places. Is that Arf! too?
>
And in the Linux kernel, and probably lots of other places
too--several places I've seen it used, they explain it as "this helps
clue in the optimizer" or something to that effect.  (That doesn't
mean it's a good idea to use it in everyday code though.)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to