Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Python Success stories
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 58 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
azrael  
View profile  
 More options Apr 22 2008, 6:25 am
Newsgroups: comp.lang.python
From: azrael <jura.gro...@gmail.com>
Date: Tue, 22 Apr 2008 03:25:59 -0700 (PDT)
Local: Tues, Apr 22 2008 6:25 am
Subject: Python Success stories
Hy guys,
A friend of mine i a proud PERL developer which always keeps making
jokes on python's cost.

Please give me any arguments to cut him down about his commnets
like :"keep programing i python. maybe, one day, you will be able to
program in VisualBasic"

This hurts. Please give me informations about realy famous
aplications.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Diez B. Roggisch  
View profile  
 More options Apr 22 2008, 6:34 am
Newsgroups: comp.lang.python
From: "Diez B. Roggisch" <de...@nospam.web.de>
Date: Tue, 22 Apr 2008 12:34:48 +0200
Local: Tues, Apr 22 2008 6:34 am
Subject: Re: Python Success stories
azrael schrieb:

> Hy guys,
> A friend of mine i a proud PERL developer which always keeps making
> jokes on python's cost.

> Please give me any arguments to cut him down about his commnets
> like :"keep programing i python. maybe, one day, you will be able to
> program in VisualBasic"

> This hurts. Please give me informations about realy famous
> aplications.

This isn't worth too much, but nontheless:

http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

Klick on Perl & Python respectively to see who's going to need to use
something else some day.

But the real problem is not your friend - it's you. He hurts you because
you let him. Stop getting mad about that he teases you.

Diez


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marco Mariani  
View profile  
 More options Apr 22 2008, 6:41 am
Newsgroups: comp.lang.python
From: Marco Mariani <ma...@sferacarta.com>
Date: Tue, 22 Apr 2008 12:41:41 +0200
Local: Tues, Apr 22 2008 6:41 am
Subject: Re: Python Success stories

azrael wrote:
> Please give me any arguments to cut him down about his commnets
> like :"keep programing i python. maybe, one day, you will be able to
> program in VisualBasic"

> This hurts. Please give me informations about realy famous
> aplications.

He's joking. Perl is a dysfunctional language and its users need a
strong sense of humor to go on, day after day.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Max M  
View profile  
 More options Apr 22 2008, 7:18 am
Newsgroups: comp.lang.python
From: Max M <m...@mxm.dk>
Date: Tue, 22 Apr 2008 13:18:58 +0200
Local: Tues, Apr 22 2008 7:18 am
Subject: Re: Python Success stories
azrael skrev:

> Please give me any arguments to cut him down about his commnets
> like :"keep programing i python. maybe, one day, you will be able to
> program in VisualBasic"

When I started writing in Python in the nineties there was a lot of
tech-media coverage of Perl. Python was always mentioned as a rival to
Perl in those articles.

These days Python is mentioned in a lot of tech-articles. Perl is never
mentioned as a rival in those articles. Other languages like Ruby are.

Ok I am Python biased, but I don't see anything happen on the Perl front
anymore. It has simply gone quiet.

--

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
azrael  
View profile  
 More options Apr 22 2008, 7:53 am
Newsgroups: comp.lang.python
From: azrael <jura.gro...@gmail.com>
Date: Tue, 22 Apr 2008 04:53:38 -0700 (PDT)
Local: Tues, Apr 22 2008 7:53 am
Subject: Re: Python Success stories
Which big aplications are written in python. I see its development,
But i can't come up with a big name. I know that there are a lot of
companys using python, but is there anythong big written only in
python. I want him to fuck of with his perl once and for all time

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wesley Brooks  
View profile  
 More options Apr 22 2008, 8:03 am
Newsgroups: comp.lang.python
From: "Wesley Brooks" <wesbro...@gmail.com>
Date: Tue, 22 Apr 2008 13:03:02 +0100
Local: Tues, Apr 22 2008 8:03 am
Subject: Re: Python Success stories
http://panela.blog-city.com/python_at_google_greg_stein__sdforum.htm

Google big enough?

...or look at the companies on the "NASA uses Python... ...so does:"
box on the top (nearly top any how!) right of http://www.python.org/

On 22/04/2008, azrael <jura.gro...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris  
View profile  
 More options Apr 22 2008, 8:06 am
Newsgroups: comp.lang.python
From: Chris <cwi...@gmail.com>
Date: Tue, 22 Apr 2008 05:06:03 -0700 (PDT)
Local: Tues, Apr 22 2008 8:06 am
Subject: Re: Python Success stories
On Apr 22, 1:53 pm, azrael <jura.gro...@gmail.com> wrote:

> Which big aplications are written in python. I see its development,
> But i can't come up with a big name. I know that there are a lot of
> companys using python, but is there anythong big written only in
> python. I want him to fuck of with his perl once and for all time

http://www.python.org/about/success/
nuff said

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bruno Desthuilliers  
View profile  
 More options Apr 22 2008, 8:58 am
Newsgroups: comp.lang.python
From: Bruno Desthuilliers <bruno.42.desthuilli...@websiteburo.invalid>
Date: Tue, 22 Apr 2008 14:58:00 +0200
Subject: Re: Python Success stories
azrael a écrit :

> Hy guys,
> A friend of mine i a proud PERL developer which always keeps making
> jokes on python's cost.

s/proud/stupid/

> Please give me any arguments to cut him down about his commnets
> like :"keep programing i python. maybe, one day, you will be able to
> program in VisualBasic"

> This hurts. Please give me informations about realy famous
> aplications.

Don't let cretins hurt you. One of my best friends who is a die-hard
Perl addict really loves Python too, and finds this kind of pissing
contests more than stupid.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
George Sakkis  
View profile  
 More options Apr 22 2008, 9:33 am
Newsgroups: comp.lang.python
From: George Sakkis <george.sak...@gmail.com>
Date: Tue, 22 Apr 2008 06:33:40 -0700 (PDT)
Local: Tues, Apr 22 2008 9:33 am
Subject: Re: Python Success stories
On Apr 22, 6:34 am, "Diez B. Roggisch" <de...@nospam.web.de> wrote:

One more limited worth datapoint:

http://www.google.com/trends?q=python+programming%2C+perl+programming...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carl Banks  
View profile  
 More options Apr 22 2008, 9:38 am
Newsgroups: comp.lang.python
From: Carl Banks <pavlovevide...@gmail.com>
Date: Tue, 22 Apr 2008 06:38:10 -0700 (PDT)
Local: Tues, Apr 22 2008 9:38 am
Subject: Re: Python Success stories
On Apr 22, 6:25 am, azrael <jura.gro...@gmail.com> wrote:

> Hy guys,
> A friend of mine i a proud PERL developer which always keeps making
> jokes on python's cost.

> Please give me any arguments to cut him down about his commnets
> like :"keep programing i python. maybe, one day, you will be able to
> program in VisualBasic"

> This hurts. Please give me informations about realy famous
> aplications.

Let me tell you a little story to let you know how you should act in
situations like this.  Some of you might have heard it before.
Apologies if it's a bit long.

There was once a young man who absolutely loved clowns.  He always
dreamed of meeting a clown, and laughing at their silly antics, but he
lived in a rural small town and never got to see any.

Then one day when the circus came to town.  The young man was
unbelievably excited, he was finally going to be able to see a clown!
He camped out at the ticket booth and was the first in line to get a
ticket, because he so loved clowns that he wanted to sit right up
front.

The yound man never had a better time in his life, watching all the
clowns and their funny tricks.  Then a young talented clown came out
to work the crowd.  He went right up to the young man, who couldn't
believe his luck: a clown was doing his act with him!

The clown asked the man, "Are you front end of an ass?"

The young man said, "Um, no."

Then the clown asked the man, "Are you the rear end of an ass?"

The young man, a little confused, said, "No."

Then the clown, with nearly perfect comedic timing, said, "Then you
must be no end of an ass!"

The crowd roared with laughter, but the young man was crushed.  He
couldn't believe that the clowns he adored so much could be so mean.

He went home from the circus utterly distraught and humiliated, and
soon fell into a deep depression.  He eventually lost his job, then
his home.  He became a vagrant and spent his days living on the
streets.

The years passed by.

One day, the now old man saw that the circus was coming back to town.
And not only that, but the same clown who had humiliated him years ago
was headlining the circus.  It brought back terrible and long-
suppressed memories, which he told to a social worker at the homeless
shelter he was staying at.

The social worker felt very moved by the old man's story, and told the
old man, "You know, maybe you could overcome with your problems if you
could face that clown again and give him his comeupance."

The old man was horrified.  After the incident he had developed an
intense fear of clowns.  Yet he somehow felt the social worker was
right.  "I'd like to do that," he said, "but what if the clown
humilates me again?"

"Don't worry," said the social worker, "I have the perfect retort."

So the social worker and the old man bought front row seats to the
circus.  Within a few minutes, the old man was enjoying himself
immensely.  It was the best therapy he'd ever had, and the old man
felt that after so many years he would finally be able to put his life
back together.

Until the final act.

The same clown who had humiliated the old man many years before was
now an old veteran on his final tour.  The clown went right up to the
old man and began to work the same routine.

("Don't worry," whispered the social worker to he old man as the clown
approached, "I have perfect retort.")

The clown asked the old man, "Are you front end of an ass?"

The old man said, "No."

Then the clown asked the old man, "Are you the rear end of an ass?"

The old man, positively scared, meekly said, "No."

Then the clown, with utterly perfect comedic timing, said, "Then you
must be no end of an ass!"

The crowd roared with laughter.  The man was humiliated again.  But
the social winked at him, indicating that he would soon give the clown
the perfect retort.  The old man couldn't wait to hear what it was.

Suddenly the social worker stood up and shouted, "Hey clown!"

The crowd hushed, and clown whirled around to look at him.

"F**k you!"

(It makes even more sense when you consider that Perl programmers
pretty much are clowns.)

Carl Banks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Witty retorts (was: Python Success stories)" by Ben Finney
Ben Finney  
View profile  
 More options Apr 22 2008, 10:02 am
Newsgroups: comp.lang.python
From: Ben Finney <bignose+hates-s...@benfinney.id.au>
Date: Wed, 23 Apr 2008 00:02:47 +1000
Local: Tues, Apr 22 2008 10:02 am
Subject: Witty retorts (was: Python Success stories)

Carl Banks <pavlovevide...@gmail.com> writes:
> Let me tell you a little story to let you know how you should act in
> situations like this. Some of you might have heard it before.
> Apologies if it's a bit long.

I don't know if I've heard it before; it's rather unmemorable.

What lesson is it intended to teach, other than that "Fuck you" is
somehow a "retort"? I can't see that improving too many situations.

--
 \       "Probably the toughest time in anyone's life is when you have |
  `\         to murder a loved one because they're the devil."  -- Emo |
_o__)                                                          Philips |
Ben Finney


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Python Success stories" by Paul Melis
Paul Melis  
View profile  
 More options Apr 22 2008, 9:54 am
Newsgroups: comp.lang.python
From: Paul Melis <p...@science.uva.nl>
Date: Tue, 22 Apr 2008 15:54:42 +0200
Local: Tues, Apr 22 2008 9:54 am
Subject: Re: Python Success stories

azrael wrote:
> Which big aplications are written in python. I see its development,
> But i can't come up with a big name. I know that there are a lot of
> companys using python, but is there anythong big written only in
> python. I want him to fuck of with his perl once and for all time

Not really "big" in terms of lines of code, but definitely well-known
and widespread: the official BitTorrent client is written in Python (and
has been since the beginning I believe).

Regards,
Paul


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Istvan Albert  
View profile  
 More options Apr 22 2008, 10:22 am
Newsgroups: comp.lang.python
From: Istvan Albert <istvan.alb...@gmail.com>
Date: Tue, 22 Apr 2008 07:22:13 -0700 (PDT)
Local: Tues, Apr 22 2008 10:22 am
Subject: Re: Python Success stories
On Apr 22, 6:25 am, azrael <jura.gro...@gmail.com> wrote:

> A friend of mine i a proud PERL developer which always keeps making
> jokes on python's cost.
> This hurts. Please give me informations about realy famous
> aplications.

you could show him what Master Yoda said when he compared Python to
Perl

http://www.personal.psu.edu/iua1/pythonvsperl.htm

i.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikita the Spider  
View profile  
 More options Apr 22 2008, 10:54 am
Newsgroups: comp.lang.python
From: Nikita the Spider <NikitaTheSpi...@gmail.com>
Date: Tue, 22 Apr 2008 10:54:00 -0400
Subject: Re: Python Success stories
In article
<7e595409-be62-4b8c-9819-a14cd363d...@c65g2000hsa.googlegroups.com>,

 azrael <jura.gro...@gmail.com> wrote:
> Which big aplications are written in python. I see its development,
> But i can't come up with a big name. I know that there are a lot of
> companys using python, but is there anythong big written only in
> python. I want him to fuck of with his perl once and for all time

Why are either of you so emotionally attached to the tools you use?

I don't know your friend, but my guess is that he's not interested in a
logical argument, so he won't be impressed even if you claim that God
himself wrote the Universe in Python. I think he enjoys saying this
stuff simply because you react to it. It's pretty sad that he can't find
something better to do with his time.

If Python works for you and Perl for your friend, you can each keep
using the tool you prefer and be happy about it.

In the meantime you might want to look for some friends that don't find
your anger and frustration entertaining.

--
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Witty retorts (was: Python Success stories)" by Max Erickson
Max Erickson  
View profile  
 More options Apr 22 2008, 11:19 am
Newsgroups: comp.lang.python
From: Max Erickson <maxerick...@gmail.com>
Date: Tue, 22 Apr 2008 15:19:27 +0000 (UTC)
Local: Tues, Apr 22 2008 11:19 am
Subject: Re: Witty retorts (was: Python Success stories)

Ben Finney <bignose+hates-s...@benfinney.id.au> wrote:
> Carl Banks <pavlovevide...@gmail.com> writes:

>> Let me tell you a little story to let you know how you should
>> act in situations like this. Some of you might have heard it
>> before. Apologies if it's a bit long.

> I don't know if I've heard it before; it's rather unmemorable.

> What lesson is it intended to teach, other than that "Fuck you"
> is somehow a "retort"? I can't see that improving too many
> situations.

I got something like "Don't waste your life worrying about what some
damn clown said" out of it.

You don't even need to swear at the clown to make it work.

max


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Banibrata Dutta  
View profile  
 More options Apr 22 2008, 11:26 am
Newsgroups: comp.lang.python
From: "Banibrata Dutta" <banibrata.du...@gmail.com>
Date: Tue, 22 Apr 2008 20:56:45 +0530
Local: Tues, Apr 22 2008 11:26 am
Subject: Re: Witty retorts (was: Python Success stories)
"F**k you" -- is generally an indication of "creativity blackout"
followed by "frustration". Not exactly a clever retort.

On 4/22/08, Max Erickson <maxerick...@gmail.com> wrote:

--
regards,
Banibrata
http://www.linkedin.com/in/bdutta

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Python Success stories" by GHUM
GHUM  
View profile  
 More options Apr 22 2008, 11:35 am
Newsgroups: comp.lang.python
From: GHUM <haraldarminma...@gmail.com>
Date: Tue, 22 Apr 2008 08:35:47 -0700 (PDT)
Local: Tues, Apr 22 2008 11:35 am
Subject: Re: Python Success stories

> Which big aplications are written in python. I see its development,

There are no big applications written in Python.

Big applications are written in JAVA or COBOL or C# or other legacy
programming systems.

If you programm in Python, your applications become quite small. Only
frameworks in Python are big.

best wishes

Harald

Join us @ EuroPython 2008 in Vilnius to have more fun with Python
Submit your talk NOW
www.europython.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gabriel Genellina  
View profile  
 More options Apr 22 2008, 11:55 am
Newsgroups: comp.lang.python
From: "Gabriel Genellina" <gagsl-...@yahoo.com.ar>
Date: Tue, 22 Apr 2008 12:55:58 -0300
Local: Tues, Apr 22 2008 11:55 am
Subject: Re: Python Success stories
En Tue, 22 Apr 2008 07:34:48 -0300, Diez B. Roggisch <de...@nospam.web.de> escribió:

> azrael schrieb:
>> A friend of mine i a proud PERL developer which always keeps making
>> jokes on python's cost.

>> Please give me any arguments to cut him down about his commnets
>> like :"keep programing i python. maybe, one day, you will be able to
>> program in VisualBasic"

>> This hurts. Please give me informations about realy famous
>> aplications.

> This isn't worth too much, but nontheless:

> http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

Also, you can enter the Python main site, on the right and very prominently you have a link to many successful stories: http://www.python.org/about/success/

> But the real problem is not your friend - it's you. He hurts you because
> you let him. Stop getting mad about that he teases you.

I agree.

--
Gabriel Genellina


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
D'Arcy J.M. Cain  
View profile  
 More options Apr 22 2008, 12:10 pm
Newsgroups: comp.lang.python
From: "D'Arcy J.M. Cain" <da...@druid.net>
Date: Tue, 22 Apr 2008 12:10:06 -0400
Local: Tues, Apr 22 2008 12:10 pm
Subject: Re: Python Success stories
On Tue, 22 Apr 2008 08:35:47 -0700 (PDT)

GHUM <haraldarminma...@gmail.com> wrote:
> > Which big aplications are written in python. I see its development,

> There are no big applications written in Python.

> Big applications are written in JAVA or COBOL or C# or other legacy
> programming systems.

> If you programm in Python, your applications become quite small. Only
> frameworks in Python are big.

So the fact that there are no big applications written in Python IS the
success story.

--
D'Arcy J.M. Cain <da...@druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
s0s...@gmail.com  
View profile  
 More options Apr 22 2008, 12:32 pm
Newsgroups: comp.lang.python
From: s0s...@gmail.com
Date: Tue, 22 Apr 2008 09:32:36 -0700 (PDT)
Local: Tues, Apr 22 2008 12:32 pm
Subject: Re: Python Success stories
On Apr 22, 5:25 am, azrael <jura.gro...@gmail.com> wrote:

> Hy guys,
> A friend of mine i a proud PERL developer which always keeps making
> jokes on python's cost.

> Please give me any arguments to cut him down about his commnets
> like :"keep programing i python. maybe, one day, you will be able to
> program in VisualBasic"

> This hurts. Please give me informations about realy famous
> aplications.

Those would be insulting statements, but only if he wouldn't be a Perl
programmer. Everyone knows Perl's best days are long gone. Perl is not
a competent language anymore. I bet your friend is a system
administrator or something like that, because the only use for Perl is
writing quick-and-dirty scripts, and that's something that sysadmins
do the whole day.

Anyway, seeing that nobody has posted on the "big applications"
matter, here are some examples: Zope ( http://www.zope.org ), Medusa
( http://www.nightmare.com/medusa ), Grail ( http://grail.sourceforge.net
).

On the "Python vs. Perl" matter, well, just search "Python Perl" on
Google or some other search engine, you'll literally find nothing but
pages talking about how Python is better than Perl.

On the other hand, I do admit that there's no other language better
than Perl to write a 3-10 line long program. In those cases, the Perl
version will not only be smaller than the C version, but even smaller
than the Python version. This is mostly due to Perls default variables
and "magic" events (like reading a line of a file directly into $_
when you're doing while (<FILE>) {...}, or automatically converting
between integer/string or scalar/list depending on the operators and
context ).

But a competent developer won't be writing such small scripts, unless,
as I said, you're a sysadmin or something like that. Otherwise,
there's no reason to use something as ugly and unconventional as Perl.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Witty retorts (was: Python Success stories)" by Paul Boddie
Paul Boddie  
View profile  
 More options Apr 22 2008, 12:38 pm
Newsgroups: comp.lang.python
From: Paul Boddie <p...@boddie.org.uk>
Date: Tue, 22 Apr 2008 09:38:26 -0700 (PDT)
Local: Tues, Apr 22 2008 12:38 pm
Subject: Re: Witty retorts (was: Python Success stories)
On 22 Apr, 16:02, Ben Finney <bignose+hates-s...@benfinney.id.au>
wrote:

> What lesson is it intended to teach, other than that "Fuck you" is
> somehow a "retort"? I can't see that improving too many situations.

It isn't supposed to teach anything: it's a joke! It'd be more
relevant (yet somewhat surreal if detached from this particular
context) if it ended with the social worker saying...

"Hey clown! What happened to Perl 6?"

Paul


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Python Success stories" by Jérémy Wagner
Jérémy Wagner  
View profile  
 More options Apr 22 2008, 12:50 pm
Newsgroups: comp.lang.python
From: Jérémy Wagner <jeremy.wag...@laposte.net>
Date: Tue, 22 Apr 2008 18:50:54 +0200
Local: Tues, Apr 22 2008 12:50 pm
Subject: Re: Python Success stories
Sure. Python is more readable than Perl, though I have found Python
to have a weird behavior regarding this little issue :

How can you explain that Python doesn't support the ++ opeator,
whereas at the same time it does support the += operator ???

No python developer I know has been able to answer that.

Istvan Albert a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Hankin  
View profile  
 More options Apr 22 2008, 2:09 pm
Newsgroups: comp.lang.python
From: Paul Hankin <paul.han...@gmail.com>
Date: Tue, 22 Apr 2008 11:09:55 -0700 (PDT)
Local: Tues, Apr 22 2008 2:09 pm
Subject: Re: Python Success stories
On Apr 22, 5:50 pm, Jérémy Wagner <jeremy.wag...@laposte.net> wrote:

> Sure. Python is more readable than Perl, though I have found Python
> to have a weird behavior regarding this little issue :

> How can you explain that Python doesn't support the ++ opeator,
> whereas at the same time it does support the += operator ???

> No python developer I know has been able to answer that.

Because ++ is of limited use and has poor readability?

'x++' vs 'x += 1' saves 3 characters and is less readable.

'my_long_variable += expression' vs 'my_long_variable =
my_long_variable + expression' saves a lot of characters and is more
readable, because it avoids the duplication of the variable name. When
my_long_variable is a more complex term (perhaps
my_long_variable[some_long_expression]) it's even better.

Plus you get the useful update-in-place behaviour when the left-hand-
side of the += expression is a list.

--
Paul Hankin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carl Banks  
View profile  
 More options Apr 22 2008, 2:53 pm
Newsgroups: comp.lang.python
From: Carl Banks <pavlovevide...@gmail.com>
Date: Tue, 22 Apr 2008 11:53:25 -0700 (PDT)
Local: Tues, Apr 22 2008 2:53 pm
Subject: Re: Python Success stories
On Apr 22, 12:50 pm, Jérémy Wagner <jeremy.wag...@laposte.net> wrote:

> Sure. Python is more readable than Perl, though I have found Python
> to have a weird behavior regarding this little issue :

> How can you explain that Python doesn't support the ++ opeator,
> whereas at the same time it does support the += operator ???

Because "Features A and B are in language X.  Python adds Feature A.
Therefore Python must also add Feature B (or it'll be weird)" is not
valid logic.

Carl Banks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gabriel Genellina  
View profile  
 More options Apr 22 2008, 3:35 pm
Newsgroups: comp.lang.python
From: "Gabriel Genellina" <gagsl-...@yahoo.com.ar>
Date: Tue, 22 Apr 2008 16:35:27 -0300
Local: Tues, Apr 22 2008 3:35 pm
Subject: Re: Python Success stories
En Tue, 22 Apr 2008 13:50:54 -0300, Jérémy Wagner <jeremy.wag...@laposte.net> escribió:

> Sure. Python is more readable than Perl, though I have found Python
> to have a weird behavior regarding this little issue :

> How can you explain that Python doesn't support the ++ opeator,
> whereas at the same time it does support the += operator ???

> No python developer I know has been able to answer that.

Because Python doesn't follow the "boxed variables" model. In other languages i++ changes the "value" stored inside the box "i", but the box itself (the variable) is still the same. Python doesn't have boxes, it has names that refer to objects. For all builtin numeric types, i += 1 creates a *new* object with the resulting value and makes the name "i" refer to this new object.
i++ would be confusing because it looks like a mutating operation over i, but in fact it would be an assignment.

--
Gabriel Genellina


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 58   Newer >
« Back to Discussions « Newer topic     Older topic »