Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

•Re^4: Writing a simple RSS feed 'grabber' with XML::Parser.

by merlyn (Sage)
on Oct 20, 2004 at 11:04 UTC ( [id://400817]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Writing a simple RSS feed 'grabber' with XML::Parser.
in thread Writing a simple RSS feed 'grabber' with XML::Parser.

Please don't trot this out as an "optimization". What I'm saying is that this "cute syntax" is in fact gaining nothing, and only loses. So, if the only thing it's optimized for is "cuteness", it doesn't belong in the standard idiom list.

So, at worst, I'm saving typing. Typically, I'm also saving execution speed. Why would you have a complaint about that?

And what about the "programmer time" to figure out what the "cute" construct does? There's a real expense there. The literal slice is well documented. The cute block-arrow-block form shows up more like an obfuscation than a clarification, costing clarity, but for what reward? None, ever. Why unnecessarily obfuscate your code?

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re^4: Writing a simple RSS feed 'grabber' with XML::Parser.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-20 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found