Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Spoken Code

by hv (Prior)
on May 21, 2004 at 02:43 UTC ( [id://355160]=note: print w/replies, xml ) Need Help??


in reply to Spoken Code

It has an awful lot to do with the person I'm talking to. If I'm looking over my colleague's shoulder - say he's just found out I forgot to implement a method - I'd rattle out something like:

sub admin, my dollar self equals shift, dollar self to[1] admin or equals do, require NVC DB user, NVC DB User to[1] admin.
.. and expect him to type (with correct punctuation and indentation):
sub admin { my $self = shift; $self->{admin} ||= do { require NVC::DB::User; NVC::DB::User->admin; }; }

Of course, I shall poke fun at him (or possibly a pointed stick) if he fails to do so.

[1] This is the special one, it is a very distinct word pronounced with a plosive 't' and a vowel sound similar to the French definite article 'le'. I'm not sure how you'd write that phonetically, especially in HTML.

Hugo

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-29 00:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found