In Python, "+" can concatenate lists too, which is shorter than push(). In fact, .append() in Python only appends exactly one element to the end of a list, so it's wrong to compare .append() and push().
My biggest mistake was making the assumption that at least one person reasonably well-versed in both languages would read and respond to this thread.
My bad. My very bad.
Also, this subthread is again continuing along the path that seemingly the only point I made was that Python let's you type fewer characters for many extremely common (as in, almost every program and even on most lines of every program you'll write) operations. I'd say the fact that you've ignored the other Python benefits I pointed it is being rude.
In reply to Re: Re: Re: Re: Perl vs. Python: Looking at the Code
by mothra
in thread Perl vs. Python: Looking at the Code
by mothra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |