Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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]
[shmem]: Lady_Aleena: fix it, or delete it ;-)
[Lady_Aleena]: shmem, I'm not sure how.
[shmem]: well, deleting is done with 'rm' :-P
[shmem]: you can break up the chain MP3::Tag->new($_)- >interpolate("\%S ") and test whether MP3::Tag->new($_) is true
[Lady_Aleena]: shmem, no to deletion.
[shmem]: can't help you there since that song is not on my bench
[Lady_Aleena]: shmem, I need to look at MP3::Tag to see how to get the date from one song.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-04-23 22:14 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (432 votes). Check out past polls.