in reply to Re: Question Marks in Subroutine Names
in thread Question Marks in Subroutine Names
I tend to think that 'question form' methods/functions sit best in a functional or objective programming style; they seem to jar slightly when you're writing procedural stuff. But that could just be me.given $employee { when male? {...} when female? {...} default { "Ooh... neuter"; ... } }
Probably what will really happen is that Larry will show us some utterly clear and really useful trick that can be done with '?' as an operator and we'll gleefully use that and forget about using ?s in our identifiers.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Question Marks in Subroutine Names
by Molt (Chaplain) on May 08, 2002 at 10:12 UTC |