Re: API Thoughts?

From: Date: Mon, 27 Aug 2001 02:06:26 +0000
Subject: Re: API Thoughts?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-64370@lists.php.net to get a copy of this message
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

« previous php.dev (#64370) next »