Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^2: Down-vote Bad, Up-vote Good

by whakka (Hermit)
on Jun 04, 2009 at 15:10 UTC ( #768462=note: print w/replies, xml ) Need Help??

in reply to Re: Down-vote Bad, Up-vote Good
in thread Down-vote Bad, Up-vote Good

I'm staring at your post in disbelief. You're not clear on the question:

How does chomp change the contents of the string without the need to pass it in by reference?

To me that's a perfectly simple and lucid question, with a good code example. To imply that it's unclear is simply disingenuous and somewhat demeaning. Maybe the concept wasn't clear to you, but I don't think that's the fault of the OP.

Replies are listed 'Best First'.
Re^3: Down-vote Bad, Up-vote Good
by CountZero (Bishop) on Jun 04, 2009 at 19:38 UTC
    To me that's a perfectly simple and lucid question, with a good code example.
    Don't take yourself to be the measure of all. It is the basis for misunderstandings and bad things have been caused by it. As Sun Tzu said: "If words of command are not clear and distinct, if orders are not thoroughly understood, then the general is to blame."


    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://768462]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2018-01-20 12:14 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (226 votes). Check out past polls.