Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: The problem with one-liners...

by Juerd (Abbot)
on Feb 06, 2003 at 18:58 UTC ( #233229=note: print w/ replies, xml ) Need Help??

in reply to The problem with one-liners...

I throw away one-liners. Anything I can do today, I hope to still be able to do in a year or two. By (my) definition, one-liners are bad code and bad code should imho not be saved :)

My favourite is

perl -ple'$a=$_=eval'
I dislike bc. The perl one-line calculator does what I want and is simple enough to remember and type in.

- (do not use).

Comment on Re: The problem with one-liners...
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2015-11-28 07:30 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (739 votes), past polls