Scripting question, [small programming question

Claude Jones claude_jones at levitjames.com
Wed May 25 16:20:47 UTC 2005


On Wednesday 25 May 2005 11:03 am, Les Mikesell wrote:
> On Wed, 2005-05-25 at 09:02, Claude Jones wrote:
> > What do you guys think?
>
> I think perl was really designed to be your second program language -
> that is, the one you turn to when sh, awk, sed, etc. don't quite handle
> the problem you want to solve - instead of being the one you learn
> first.  As such, you'd already understand programming concepts,
> regular expressions and have a favorite style that perl can mimic
> closely.  Python people like to make fun of the perl concept that
> "there's more than one way to do it", but you'll often find in
> practice that the problem you need to solve is already 90% done and
> you just need some slight variation of your own.  Perl generally
> lets you embed existing programs, run them and use their output,
> or you can even embed perl into an existing program to use its
> strengths.  With an object oriented approach and a mentality that
> says there's only one way to do things, you'll end up throwing out
> working code that has years of testing behind it and repeating most
> of the old mistakes yourself.
>
Interesting points. What about this argument that Python scripts are more 
intuitive/readable? 

-- 
Claude Jones
Bluemont, VA, USA




More information about the users mailing list