Re: Invalid Operating System

[prev] [thread] [next] [lurker] [Date index for 2006/12/11]

From: H.Merijn Brand
Subject: Re: Invalid Operating System
Date: 16:09 on 11 Dec 2006
On Mon, 11 Dec 2006 09:45:13 -0600, Peter da Silva <peter@xxxxxxx.xxx> wrote:

> On Dec 11, 2006, at 8:53 AM, H.Merijn Brand wrote:
> > Perl has all the advantages of any Unix tool (sh, csh, awk, sed, sort, 
> > ...) but lacks any of their shortcomings and flaws. But I might be biased.
> 
> If "having to call the shell to use the most valuable feature of the 
> shell" means "has all the advantages" I guess so.

I seldom have to do so, so either you miss or don't know about builtin
features or (re)usable and portable modules, or I don't use the features you
miss from the shell.

> If "being 50-100 times slower unless you write 50-100 times the code
> for the tasks the shell is best at" is "lacking any of their shortcomings
> or flaws" then I agree.

If a project/scripts gets big enough to warrant any other language than 'sh',
I usually experience the opposite. I do not see any speed issues other than
startup time and most of the scripts I write in perl will be extremely much
smaller than I can the sh version to be. Add to that that I can maintain and
extend the perl script, convert it to a module if needed, and *poof* gone are
my needs for shell scripting.

> > correct. Which rules out windows for being usable at all.
> 
> That was before Interix.

Which is installed on, err, 0.005% of the windows systems I get to work with.
And Interix being too big too carry around on my memory stick, which is ruled
out anyway on client machines, and installation is permanent (I cannot run
Interix from my memory stick), I bet my customers would not be very happy
with me mangling with their windhoze workstations.

/me crawls back to his Linux laptop ...

-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.9.x   on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.0 & 10.1, AIX 4.3 & 5.2, and Cygwin. http://qa.perl.org
http://mirrors.develooper.com/hpux/            http://www.test-smoke.org
                        http://www.goldmark.org/jeff/stupid-disclaimers/
There's stuff above here

Generated at 22:02 on 27 Dec 2006 by mariachi 0.52