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

Advantages of Perl or Python over PHP?

Name: !Zq39c9ldG6 2011-08-15 21:48

Alright, so I'm looking into web development, and I'm wondering if there's any noticeable differences user-end wise between Perl, PHP, and Python.

Could someone explain?

Name: Anonymous 2011-08-17 14:15

>>12
Well, they do actually support prepared statements.
Though just saying it like that might be a bit nice to them, in that it sounds like the language might actually have one well-thought out, useful feature that doesn't encourage buggy, unmaintainable code by design.
Well, perish the thought. See if you can spot the amazingly retarded API design in the following snippet from their manual pages:
$stmt = $mysqli->prepare("INSERT INTO CountryLanguage VALUES (?, ?, ?, ?)");
$stmt->bind_param('sssd', $code, $language, $official, $percent);

$code = 'DEU';
$language = 'Bavarian';
$official = "F";
$percent = 11.2;

/* execute prepared statement */
$stmt->execute();

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