Hello World
Roy Smith
roy at panix.com
Mon Dec 22 08:13:55 EST 2014
In article <0udf9a1m3n02rt06a5ib58mvifm7sdeg31 at 4ax.com>,
Steve Hayes <hayesstw at telkomsa.net> wrote:
> On Mon, 22 Dec 2014 09:51:02 +1100, Steven D'Aprano
> <steve+comp.lang.python at pearwood.info> wrote:
>
> >Tony the Tiger wrote:
> >
> >> On Sat, 20 Dec 2014 23:57:08 +1100, Steven D'Aprano wrote:
> >>
> >>> I am in total awe.
> >>
> >> I'm not. It has no real value. Write your code like that and you'll soon
> >> be looking for a new job.
> >
> >Awww, did da widdle puddy tat get up on the wrong side of the bed this
> >morning? :-)
> >
> >
> >Obviously you don't write obfuscated code like this for production use,
> >except in such cases where you deliberately want to write obfuscated code
> >for production use.
>
> Yes, my initial reaction was "that's awesome".
>
> And my second thought was that it was scary.
>
> I ran it. It worked, and printed "Hello world". I was awed.
>
> But what if I had run it and it reformatted my hard disk?
>
> How would I have known that it would or wouldn't do that?
How would you know any code you download from the net won't reformat
your disk? If I wanted to write something evil, I wouldn't write it to
look obfuscated. I'd write it to look like it did something useful.
More information about the Python-list
mailing list