Troll? was: Re: goto statement

2005-04-20 Thread André Roberge
Maxim Kasimov wrote:
by the way, goto statement will be useful for writing more powerful 
obfuscators

Let me get that clear: you want a goto to help with debugging.
And you want to obfuscate your code even more?
!?
Perhaps you need to write in Perl, or some other similar language.
Writing in Python is for those that seek clarity (not obfuscation) and 
less bugs.   Which is why a goto statement should definitely never be 
part of Python!

André
--
http://mail.python.org/mailman/listinfo/python-list


Re: Troll? was: Re: goto statement

2005-04-20 Thread Maxim Kasimov
André Roberge wrote:
Maxim Kasimov wrote:
by the way, goto statement will be useful for writing more powerful 
obfuscators

Let me get that clear: you want a goto to help with debugging.
And you want to obfuscate your code even more?
!?
Perhaps you need to write in Perl, or some other similar language.
Writing in Python is for those that seek clarity (not obfuscation) and 
less bugs.   Which is why a goto statement should definitely never be 
part of Python!

André
so insulting to me - you asking i'm a troll, only becose i'm saing that 
goto maybe sometimes usefull.
--
Best regards,
Maxim Kasimov
mailto: [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list


Re: Troll? was: Re: goto statement

2005-04-20 Thread Robert Kern
Maxim Kasimov wrote:
André Roberge wrote:
Maxim Kasimov wrote:
by the way, goto statement will be useful for writing more powerful 
obfuscators

Let me get that clear: you want a goto to help with debugging.
And you want to obfuscate your code even more?
!?
Perhaps you need to write in Perl, or some other similar language.
Writing in Python is for those that seek clarity (not obfuscation) and 
less bugs.   Which is why a goto statement should definitely never be 
part of Python!

André
so insulting to me - you asking i'm a troll, only becose i'm saing that 
goto maybe sometimes usefull.
No, because you said that it was useful for obfuscating code. 
Obfuscating code is generally not a desirable feature of a language 
construct.

--
Robert Kern
[EMAIL PROTECTED]
In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die.
  -- Richard Harter
--
http://mail.python.org/mailman/listinfo/python-list


Re: Troll? was: Re: goto statement

2005-04-20 Thread Bill Mill
On 4/20/05, Robert Kern [EMAIL PROTECTED] wrote:
 Maxim Kasimov wrote:
  André Roberge wrote:
 
  Maxim Kasimov wrote:
 
 
  by the way, goto statement will be useful for writing more powerful
  obfuscators
 
  Let me get that clear: you want a goto to help with debugging.
 
  And you want to obfuscate your code even more?
 
  !?
 
  Perhaps you need to write in Perl, or some other similar language.
 
  Writing in Python is for those that seek clarity (not obfuscation) and
  less bugs.   Which is why a goto statement should definitely never be
  part of Python!
 
  André
 
 
  so insulting to me - you asking i'm a troll, only becose i'm saing that
  goto maybe sometimes usefull.
 
 No, because you said that it was useful for obfuscating code.
 Obfuscating code is generally not a desirable feature of a language
 construct.
 

I believe he meant obfuscating bytecode for a commercial product, to
try and avoid decompilation, which is often a desirable function for
commercial entities.

(Not that I have the technical knowledge to agree or disagree with
what he said, I'm just trying to help clear up what's become a fairly
bogged-down argument.)

Peace
Bill Mill
bill.mill at gmail.com

 --
 Robert Kern
 [EMAIL PROTECTED]
 
 In the fields of hell where the grass grows high
   Are the graves of dreams allowed to die.
-- Richard Harter
 
 --
 http://mail.python.org/mailman/listinfo/python-list

--
http://mail.python.org/mailman/listinfo/python-list


Re: Troll? was: Re: goto statement

2005-04-20 Thread Fredrik Lundh
Bill Mill wrote:
I believe he meant obfuscating bytecode for a commercial product, to
try and avoid decompilation, which is often a desirable function for
commercial entities.
there is no shortage of jump instructions on the bytecode level, so if he 
wants
to obfuscate bytecode, all he has to do is to obfuscate the bytecode.
import dis
[op for op in dis.opname if op.startswith(JUMP)]
['JUMP_FORWARD', 'JUMP_IF_FALSE', 'JUMP_IF_TRUE', 'JUMP_ABSOLUTE']
/F
--
http://mail.python.org/mailman/listinfo/python-list


Re: Troll? was: Re: goto statement

2005-04-20 Thread Steve Holden
Maxim Kasimov wrote:
André Roberge wrote:
Maxim Kasimov wrote:
by the way, goto statement will be useful for writing more powerful 
obfuscators

Let me get that clear: you want a goto to help with debugging.
And you want to obfuscate your code even more?
!?
Perhaps you need to write in Perl, or some other similar language.
Writing in Python is for those that seek clarity (not obfuscation) and 
less bugs.   Which is why a goto statement should definitely never be 
part of Python!

André
so insulting to me - you asking i'm a troll, only becose i'm saing that 
goto maybe sometimes usefull.

Seemed like a fair response to me, given that computer scientists and 
programming practitioners concluded years ago that the potential of goto 
constructs was largely negative, and that they should be eschewed under 
most normal circumstances.

This has now been carried to the extent that there are may other 
languages besides Python that don't include a GOTO.

Do you know something we (and they) don't? If not then this is just an 
idle conversation, since you don't appear to perceive the negative 
aspects at all.

regards
 Steve
--
Steve Holden+1 703 861 4237  +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
Python Web Programming  http://pydish.holdenweb.com/
--
http://mail.python.org/mailman/listinfo/python-list