LMFAO! ooooooooooookkkkkkkkkkkkkk!nielsene wrote:Just realized that its probably a bad design decision to have the gal object evalute its own richness/chickness so were we go again:Code: Select all
class Jerk { var $name; function Jerk($name) { $this->name=$name; } function evalutateGF($gf) { if (!($this->isRich($gf) && $this->isChick($gf))) { return "Dump"; } else {return "Dream About";} } function isRich($person) { return ($person->getMoney() > $LOTS_OF_MONEY); } function isChick($person) { return FALSE; // abstract, must be implemented by subclass } }
Anyone ever use E-Lance?
Moderator: General Moderators
-
codewarrior
- Forum Commoner
- Posts: 81
- Joined: Wed Aug 07, 2002 1:28 pm
-
codewarrior
- Forum Commoner
- Posts: 81
- Joined: Wed Aug 07, 2002 1:28 pm
- hob_goblin
- Forum Regular
- Posts: 978
- Joined: Sun Apr 28, 2002 9:53 pm
- Contact:
I'm starting one, actually. PerfectPHP.com. Just alot of automated PHP scripts... If anyone of you would be interested in joining me, and selling a few of your scripts, PM me on here, and we'll set everything up. 
And to accept payments, I set up my own PayPal account, which everyone should do. Its free, fast, and very easy. (Not advertising
)
So if anyone else is interested, we could start a huge selection of pay-per-script service. I think that would be sweet ;D
And to accept payments, I set up my own PayPal account, which everyone should do. Its free, fast, and very easy. (Not advertising
So if anyone else is interested, we could start a huge selection of pay-per-script service. I think that would be sweet ;D
