Re: Scripting question, [small programming question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux