Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Python

Name: Anonymous 2010-07-13 21:02

How good is Python?

Name: Anonymous 2010-07-13 21:09

It's really useful and efficient, if that's what you mean by "good".  In my opinion it's way overrated and I'd rather use Perl than Python.

Name: Anonymous 2010-07-13 21:15

I know you can hack shit in perl and make it fucking ugly and it will still run, but why Perl over Python?

Name: Anonymous 2010-07-13 21:24

good enough, nothing special. Guido should be shot

Name: Anonymous 2010-07-13 21:26

>>4
Which Guido?

Name: Anonymous 2010-07-14 0:29

>>3
Personal preference, mostly.  By ugly do you mean the syntax?

Name: Anonymous 2010-07-14 2:38

1) It's slow
2) It has no tail-call optimization. Thanks to Guido
3) It's syntax is pretty. Especially python 2. I don't like parenthesis in python3.


I really want PIL to work at least 10x faster.

Name: Anonymous 2010-07-14 6:49

The people who prefer Perl over Python are the same people who would argue for PHP over Perl or Sepples over C if the stars had been only a little different.

Python is decent, and while it could definitely be better in a lot of areas, I disagree with >>4 that it's nothing special. That's more of a comment on the state of other modern programming languages than it is on Python itself, though.
I do agree with him (and most other people) that Gweedo should be shot.

Name: Anonymous 2010-07-14 9:02

>>8
Oh it's special alright. Which is exactly the problem.

Name: Anonymous 2010-07-14 9:40

>>8
I prefer Perl over Python because it actually looks like a program, instead of some moronically deliberate list of pseudocode statements that are so un-technical that I feel my IQ slowly draining from my ears while I look at it.

Name: Anonymous 2010-07-14 10:01

>>10
I prefer Perl over Python because it actually looks like a program
To the uninitiated, perhaps.  A real programmer would recognize the Perl program as programming for Real Men.

Name: Anonymous 2010-07-14 10:04

If by good you mean that you can't have function to modify a passed parameter, then yes.
If by good you mean it's limiting you and treating like a baby with its dumb syntax, then yes.

And for the HERP DERP UGLY PERL

Example code in Perl 5 (Moose example on their webpage):
package Point;
use Moose;

has 'x' => (is => 'rw', isa => 'Int');
has 'y' => (is => 'rw', isa => 'Int');

sub clear {
    my $self = shift;
    $self->x(0);
    $self->y(0);
}

package Point3D;
use Moose;

extends 'Point';

has 'z' => (is => 'rw', isa => 'Int');

after 'clear' => sub {
    my $self = shift;
    $self->z(0);
};


Oh god! So ugly and unreadable! Let's see python now. Let's see the first exapmle from Dive Into Python:
def buildConnectionString(params):
    """Build a connection string from a dictionary of parameters.

    Returns string."""
    return ";".join(["%s=%s" % (k, v) for k, v in params.items()])

if __name__ == "__main__":
    myParams = {"server":"mpilgrim", \
                "database":"master", \
                "uid":"sa", \
                "pwd":"secret" \
                }
    print buildConnectionString(myParams)

YEAH! So readable and straightforward, so much better than syntax-ugly Perl. Isn't it?

Name: Anonymous 2010-07-14 11:33

>>12
I detect sarcasm, but I agree with your opinions.

Name: Anonymous 2010-07-14 12:30

Where the hell did all these perl neanderthals come from

Name: Anonymous 2010-07-14 13:16

>>14
Welcome to the internet. You must be new here.

Name: Anonymous 2010-07-14 13:51

>>12
Dive Into Python Must Die: http://oppugn.us/posts/1272050135.html

Name: Anonymous 2010-07-14 14:13

>>13
``faggot''

Name: Anonymous 2010-07-14 14:29

>>16
what's a good book then?

Name: Anonymous 2010-07-14 15:03

>>18
The Pleasure of Being Cummed Inside

Name: Anonymous 2010-07-14 15:40

>>19
a pleasure i know all too well

Name: Anonymous 2010-07-14 16:14

>>18
Try the Dirty Hungarian Phrasebook.

Name: Anonymous 2010-07-14 17:16

>>20
I know the pleasure of cumming inside a fleshlight, but have never experienced it done on myself. Does a cumming machine exist?

Name: Anonymous 2010-07-14 22:00

When I said
I know you can hack shit in perl and make it fucking ugly and it will still run
I meant that perl can be written in so many ways including very shitty ones and it will still run.

Name: Anonymous 2010-07-15 3:52

>>1
Imagine a giant cock flying towards your mouth, and there's nothing you can do about it. And you're like "Oh man, I'm gonna have to suck this thing", and you brace yourself to suck this giant cock. But then, at the last moment, it changes trajectory and hits you in the eye. You think to yourself "Well, at least I got that out of the way", but then the giant cock rears back and stabs your eye again, and again, and again. Eventually, this giant cock is penetrating your gray matter, and you begin to lose control of your motor skills. That's when the giant cock slaps you across the cheek, causing you to fall out of your chair. Unable to move and at your most vulnerable, the giant cock finally lodges itself in your anus, where it rests uncomfortably for 4, maybe 5 hours.

That's what Python is like.

Name: Anonymous 2010-07-15 4:02

>>24
We got it. Python is hotter than heat itself.

Name: Anonymous 2010-07-15 4:39

>>24
THE FORCED INSERTION OF COCKS

Name: Anonymous 2010-07-15 7:25

>>26
lol'd

Name: Anonymous 2010-07-15 8:46

>>27
/b/

Name: Anonymous 2010-07-15 11:09

>>22
It's called plastic bottle of soap and pressure. For extra pleasure you allowed to not replace soap with cum

Don't change these.
Name: Email:
Entire Thread Thread List