At 07:29 PM 8/26/01 -0400, Sterling Hughes wrote:
>     Hey,
>
>     Currently working on the Binary Tree implementations for the ADT
>     extension and was wondering what people thought as more intuitive,
>     something like:
>
>     $tree = tree_new(AVL_TREE);
>     tree_insert($tree, $element, "compare_func");
>     // ...

I like this better, but please prefix constants with "ADT".

-Andrei


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to