Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: What am I not understanding about $,

by BrowserUk (Patriarch)
on May 20, 2016 at 07:55 UTC ( [id://1163593]=note: print w/replies, xml ) Need Help??


in reply to Re^3: What am I not understanding about $,
in thread What am I not understanding about $,

are you thinking about overloading the ?? operator?

No. The point was simply that if you don't know perl, both those things are likely to be unreadable.

I fail to see a reason why nested function calls might be detrimental from a robustness point of view though.

Reductio ad absurdum, dear boy, reductio ad absurdum!

You're taking my post far too seriously at the microscopic level; and ignoring forgetting my point at the macroscopic level.

Personally, I always feel a strange tingling when using "@expand_me", and I do so only in very basic situations and temporary print statements for debugging. I prefer Ovid's way in code that has a longer lifespan.

I can't say it better than I did in my next post in this thread: Being selective about what functionality you accept as legitimate, and what you personally choose to reject is one thing; attempting to impose your affectations upon the world at large is another. If you haven't read it, that same post goes into much more detail of my feelings about selectivity.

I have no problem with your or Ovid's preferences -- I have my own -- but I do have a problem with Ovid's (and most other) justifications for rejecting parts of the language: ... nobody knows what $" is, but everyone knows what join() is.

This is where I set the line between idiomatic and idiotic.

I wish I said that. Then again, I probably will :)


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^5: What am I not understanding about $,
by polettix (Vicar) on May 29, 2016 at 12:22 UTC
    Thanks for taking the time to point me to the other post.

    Again, anyway, I tended to read Ovid's suggestion in the light of robustness (where it seems to be adequate) instead of readabiliy, that's why I went down at the microscopic level. I understand that after reading too many suggestions like these you might snap though :)

    perl -ple'$_=reverse' <<<ti.xittelop@oivalf

    Io ho capito... ma tu che hai detto?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-03-28 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found