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

Re: Please 'hack' nicely...

by webfiend (Vicar)
on May 23, 2002 at 13:43 UTC ( #168764=note: print w/replies, xml ) Need Help??


in reply to Please 'hack' nicely...

I'll agree with your definition of "hack", with a side comment. Perl is such a rich language that I am learning new features every time I start a project. Because of that, yesterday's "wonderfully clean code" becomes today's "childish hack".

For example: I've recently gotten serious about using map and grep, and suddenly all those awkward foreach loops I've written look like Fred Astaire in Frankenstein boots. Sure, they work, but it's a long way from the most graceful solution!


"All you need is ignorance and confidence; then success is sure."-- Mark Twain

Replies are listed 'Best First'.
Re: Re: Please 'hack' nicely...
by Biker (Priest) on May 23, 2002 at 13:56 UTC

      That said, guess who wrote:

      The argument against using an operator for other than its primary purpose strikes me the same as the old argument that you shouldn't have sex for other than procreational purposes. Sometimes side effects are more enjoyable than the originally intended effect.

      See answer here

        That being said, I'd never grep someone in a void context myself.
        :-)
        ____________

        Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2022-05-25 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (90 votes). Check out past polls.

    Notices?