Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Etymology of chomp?

by JavaFan (Canon)
on Feb 26, 2012 at 13:42 UTC ( #956262=note: print w/ replies, xml ) Need Help??


in reply to Etymology of chomp?

I'd be surprised if chomp was named as it is, without consideration of chop. The functions act similar, and the names look similar. chop is older, but in a lot of places, where chop was used, chomp would be better. The change is minimal, add just one character. It does not surprise me if Larry did consider that fact when looking for a name for the function. And I'd bet Larry has looked for a similar, 4 character word as a replacement, but didn't find a better one.


Comment on Re: Etymology of chomp?
Select or Download Code
Re^2: Etymology of chomp?
by pemungkah (Priest) on Feb 28, 2012 at 00:32 UTC
    I'm betting it was for ease in editing. It's easy to s/chop/chomp/; and even easier to just insert one character.
      That's what I said, didn't I?

        That's what I said, didn't I?

        I'm pretty sure I said that :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2014-09-23 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (216 votes), past polls