RE: :) What you can't do in java you can do in perl

  • From: "Anthony Molinaro" <amolinaro@xxxxxxxx>
  • To: <sorr@xxxxxxxxxxxx>, <jkstill@xxxxxxxxx>
  • Date: Wed, 29 Sep 2004 17:32:22 -0400

Steve,
  I'm with you (thought I'd jump on your side before the perl sheep all
gang up on ya).
  Now, if you're a dba, which I'm sure most of the listers are (I pity
you), then by all means, use
  perl (have fun).
  But, for us developers, well, python is just... Better. Period.
  You can really do some nice things like OO programing ,functional
programming,
  pass functions as parameters to other functions, etc... Cool stuff.=20

  For a developer, if you needed scripting done, shell+sed+awk was
great.
  C is beautiful for systems programming. Java is cool for web apps.
Python for everything else
  (and for taking over your old shell/sed/awk stuff). Perl, has it's
place in DBA land and should stay there.

  That's not to say Perl isn't a great tool, it is, but, we have your
toys and you have yours.

Anthony Molinaro
 DB developer, OCP 8,8i,9i (so I can argue with dba's),
python-protagonist, hater of the NATURAL JOIN syntax=20

-----Original Message-----
From: Orr, Steve [mailto:sorr@xxxxxxxxxxxx]=20
Sent: Wednesday, September 29, 2004 5:07 PM
To: jkstill@xxxxxxxxx
Cc: oracle-l@xxxxxxxxxxxxx
Subject: RE: :) What you can't do in java you can do in perl


> DBI is the best open source database interface available.
Having done both Perl and Python I'll concede that DBI DBD::Oracle is
superior. But the Python equivalent has been good enough for my
purposes. Attesting to Python's glue-between-systems-and-software
capabilities (like Perl), someone has developed a Python interface to
DBI. It doesn't seem to be used much in the Python community and it
seemed too weird so I never looked into it.=3D20

Steve Orr
Certifiable, former Perl dude, burgeoning Pythonista, Perlmonger
executioner :-)


Btw, I've used and even developed my own HTTP web servers in Python. (I
demo'd it in my IOUG presentation.) Where can I find such a thing in
Perl?




-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Jared Still
Sent: Wednesday, September 29, 2004 1:17 PM
To: Orr, Steve
Cc: ryan_gaffuri@xxxxxxxxxxx; breitliw@xxxxxxxxxxxxx;
oracle-l@xxxxxxxxxxxxx
Subject: Re: :) What you can't do in java you can do in perl


On Wed, 29 Sep 2004 12:53:50 -0600, Orr, Steve <sorr@xxxxxxxxxxxx>
wrote:
> Avoid CGI if performance is an issue. You can get some really =
good=3D20=20
> performance with mod_python (or mod_perl). I did a benchmark test with

> mod_python with connection pooling where I could re-use parsed =
SQL=3D20

>with bind variables and I got an orders of magnitude boost in=3D20 =20
>performance. =3D20

I've been tempted to try Python, but have had no compelling reason.

If there was anything to compete with Tim Bunce's DBI and DBD::Oracle
modules, I would give it a try.  But there isn't.  DBI is the best open
source database interface available.

--=3D20
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
--
//www.freelists.org/webpage/oracle-l

--
//www.freelists.org/webpage/oracle-l
--
//www.freelists.org/webpage/oracle-l

Other related posts: