Posted by Sanders Kaufman on 08/24/07 02:55
ELINTPimp wrote:
> On Aug 23, 8:41 pm, "burgermeiste...@gmail.com"
>> public function addArray($object, $free = NULL){
>> //logic
>> if(!$free){
>> $a[] = $object;
>> }else{
>> $b[] = $object;
>> }
>>
>> }
>
> not very good practice. when you start using conditional statements
> within your code, it's a good canidate for refactoring.
Refactoring?
What's that?
[Back to original message]
|