A little disappointed so far

Aahz aahz at pythoncraft.com
Wed May 21 08:38:28 EDT 2003


In article <slrnbcm7n7.kfe.ramen at lackingtalent.com>,
Dave Benjamin  <ramen at lackingtalent.com> wrote:
>In article <baefkv$rd7$1 at panix1.panix.com>, Aahz wrote:
>>
>><shrug>  I'm just reporting what I hear from people who are experts in
>> both Perl and Python for replacing shell scripts.  I agree that it's not
>> much of an edge and that Python's readability makes up for it, but not
>> having to type three or four lines of imports does make a difference.
>
>Which is why I still prefer PHP for short web scripts, though I generally
>prefer Python's syntax and mod_python's publisher module for application
>work. PHP has minimal preamble, no imports whatsoever (all functions are
>global!), and variable interpolation, all of which help make the short
>scripts shorter.
>
>Sometimes, "scalability" means being able to scale down. I think this is
>often forgotten in these "enterprise" days... =)

Sure, though Python scales down much more than Java does, for example.
I prefer sticking with one language.

If one wants to be somewhat unpythonic while sticking with Python, one
could write a module called mycgi that did a bunch of imports, then do
"from mycgi import *".
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"In many ways, it's a dull language, borrowing solid old concepts from
many other languages & styles:  boring syntax, unsurprising semantics,
few automatic coercions, etc etc.  But that's one of the things I like
about it."  --Tim Peters on Python, 16 Sep 93




More information about the Python-list mailing list