Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2018-02-23 05:16 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (300 votes). Check out past polls.