perlmonger: (pete)
[personal profile] perlmonger
[Poll #1119627]

[ ETA that this is an abstract question, not an invitation for a language war, though go ahead and have one if you must ]

(no subject)

Date: 2008-01-12 12:29 pm (UTC)
ext_17706: (Default)
From: [identity profile] perlmonger.livejournal.com
Perl does the Right Thing IMO, which is to answer an edge case with the equivalent, and usually appropriate, edge case.

I can't get along with Python; too elegant for its own good, and significant leading whitespace makes me think of makefiles and sendmail. And COBOL.

(no subject)

Date: 2008-01-12 05:21 pm (UTC)
From: [identity profile] quercus.livejournal.com
Python is wonderfully elegant, which unfortunately is elegance in implementing the language, not using the bastard.

Strings return True if you test them with issequence() (i.e. "Is this some soprt of array I'm looking at). Yes, they are a sequence, in terms of "Do they support the iterator functions", but this also means it's hard to tell whether the parameter you've just been passed in single or multi-valued (Duck-typing Parseltongues do this sort of thing a lot). Did I receive one string or an array of many? Can't tell.

Profile

perlmonger: (Default)
perlmonger

July 2013

S M T W T F S
 123456
78910111213
14 151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Powered by Dreamwidth Studios