Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: (FoxUni) Re: Favorite programming language, other than Perl:

by chicks (Scribe)
on May 06, 2002 at 20:42 UTC ( #164444=note: print w/ replies, xml ) Need Help??


in reply to Re: Favorite programming language, other than Perl:
in thread Favorite programming language, other than Perl:

Argh! Stupid radio buttons!

My thoughts exactly. What about a pre-poll poll to determine which languages should make into the final poll? sed and PostScript really should have made the list.

But I'm really surprised awk didn't make it in there. It disturbs me a bit that I was stuck voting for C++. I know I'm not the only person who got sucked into perl after pushing awk beyond the limits of what it was originally intended to do. sigh


Comment on Re: (FoxUni) Re: Favorite programming language, other than Perl:
Re:x3 Favorite programming language, other than Perl: (awk!)
by grinder (Bishop) on May 07, 2002 at 12:12 UTC
    Yep. I voted for "other" simply because awk wasn't there. I used awk on unix and DOS (yay Thomson Toolkit), and found myself writing awk scripts that wrote their own batch files and then called those batch files to continue the processing. Ah, the good old days. It was indeed outgrowing awk's limits that led me to Perl.

    These days I still find myself using awk for one-liners, because it's more compact for saying things like '{print $4}' that the corresponding Perl code.

    Awk really was a godsend after having dealt with only grep and sed. I no longer remember any sed, and that's a Good Thing.


    print@_{sort keys %_},$/if%_=split//,'= & *a?b:e\f/h^h!j+n,o@o;r$s-t%t#u'

      These days I still find myself using awk for one-liners

      A few months ago I was going to post a golf competition based on the one-liners at the beginning of The Awk Programming Language. A sort of awk versus Perl.

      However, when I tried it myself I couldn't out-golf any of the awk solutions.

      I am very fond of awk. It stirs emotions in me like memories of an old sweetheart.

      --
      John.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-09-01 15:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (14 votes), past polls