Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: C vs. Perl

by sauoq (Abbot)
on Oct 22, 2003 at 21:18 UTC ( #301373=note: print w/ replies, xml ) Need Help??


in reply to Re: C vs. Perl
in thread C vs. Perl

Some criticism about your reply is in order.

And still you fail to convince me that I couldn't do the same in C.

He wasn't trying to. Read his first line again: "I was wondering how C makes certain things harder to write and perl (and similar languages) makes it easy to write."

Apparently, you agree with his premise because you said, "It's simply that Perl is easier and faster to code."

He's just wondering "why"...

The reason is that Perl was designed so that code for a problem would map more easily to the programmer's way of thinking about it and C was designed so that code for a problem would map more easily to the machine's way of executing it.

BTW, as for your one liner, how likely do you think it is that you would actually have to do that on the command line? It's far more likely that that task would be part of a larger program... in which case using -a probably wouldn't help at all.

-sauoq
"My two cents aren't worth a dime.";


Comment on Re: Re: C vs. Perl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://301373]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2014-09-23 09:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (216 votes), past polls