Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Funniest Variable/Subroutine names

by simon.proctor (Vicar)
on Apr 05, 2002 at 08:24 UTC ( #156853=note: print w/replies, xml ) Need Help??


in reply to Funniest Variable/Subroutine names

I went through a phase where I called all temporary variables 'bob' or 'plop'. I particularly liked plop as it was easy to type on the keyboard. Plus I wanted to be different and not use 'foo'.

Later, when I learned OO, I would give private methods funny names to stop me getting bored. Examples included 'munge' and 'doMe' plus some other slightly ruder ones :P

But I don't do that anymore, I stick to putting silly things in my comments.

Replies are listed 'Best First'.
Re: Re: Funniest Variable/Subroutine names
by vagnerr (Prior) on Apr 05, 2002 at 10:34 UTC
    And then there were your comments simon :-P
    # If the high priestess has been given the correct holy runes of salva +tion then the writings returned from the gods should indicate # that a string needin a split and the like needs to be put on the alt +ar and its innards displayed to the four winds.
    which was for
    my @rows_of_data = split(/\n/,$results);
    In defence to him of course it was written at 4am when running a deadline to the wire :-)

    ---If it doesn't fit use a bigger hammer

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2016-10-01 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (8 votes). Check out past polls.