Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74006 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39196 invoked from network); 7 May 2014 10:33:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 May 2014 10:33:26 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain zend.com from 209.85.128.175 cause and error) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.128.175 mail-ve0-f175.google.com Received: from [209.85.128.175] ([209.85.128.175:55055] helo=mail-ve0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C2/13-17246-4FB0A635 for ; Wed, 07 May 2014 06:33:25 -0400 Received: by mail-ve0-f175.google.com with SMTP id jw12so971937veb.34 for ; Wed, 07 May 2014 03:33:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=TOfnjnrXjAwNLizoWppIETXLgzOXCIN7kjuM9iUgYlI=; b=ZUVvQp5mP9zVEnWxf8ycgy/PFgLlps/gjOf/JYL7ZwSFt/RojLDRtjmJ13w2kKzMIf kRLAfVtoMCsAoA3KBYyXGneExIchFosMFwNXTFAB9gUX5eRhZpVD+PqrylReXqqJOFFY G2Tb5yyDg8nH/kbzFyk5hKajRhdywSfsXXvTiugzdcq5f2Hc1FJ94gcDkm6i6xEKVo3U F7FMmteDw4VRaCvCW1KuB3nfQB97Hkd9Slf12oGv+if5rHmPz5iEdybHos3ChyUkU3n2 68ircrLW/avx20GA+0W7Xzjk39phTiZGDYIKFIOma1XJa/nNktsg1alR8obGD/P1/1Va zDig== X-Gm-Message-State: ALoCoQkznAVgBIvMxT4S8dFDDeGM3RjR4QCUkR0PT3XYwjBa7977PLNkVX9mg55dTZx9x03GgKBSPI4sqB0rD8OYTMwNRo+Vbcm8RL4qlId+LWodKVmqFioh9V+tpMYbxcBAc4ugtzzY MIME-Version: 1.0 X-Received: by 10.52.0.176 with SMTP id 16mr76380vdf.60.1399458801566; Wed, 07 May 2014 03:33:21 -0700 (PDT) Received: by 10.52.23.38 with HTTP; Wed, 7 May 2014 03:33:21 -0700 (PDT) In-Reply-To: References: Date: Wed, 7 May 2014 14:33:21 +0400 Message-ID: To: Pierre Joye Cc: PHP internals Content-Type: multipart/alternative; boundary=047d7b2e0707bedc9f04f8cce4a9 Subject: Re: [PHP-DEV] [phpng] naming From: dmitry@zend.com (Dmitry Stogov) --047d7b2e0707bedc9f04f8cce4a9 Content-Type: text/plain; charset=UTF-8 I would be just glad. Having clear uniform naming would be fine. We should just come to agreement about the actual names and I don't think it's a big problem. Thanks. Dmitry. On Wed, May 7, 2014 at 12:54 PM, Pierre Joye wrote: > hi, > > would it be possible to "clean up" the naming while being at it? > > I would prefer longer but clearer/less confusing names rather than > trying to reduce the type strokes. > > For example: > > ZVAL_ARR() > ZVAL_ARRAY > ZVAL_NEW_ARR() > ZVAL_NEW_ARRAY (btw, ZVAL_NEW_ARRAY is wrongly > documented in the wiki draft, section about arrays) > > Other engine's APIs use full names, to go back and forth between these > convention is error prone and not too clean. Thoughts? > > Yes, it is a detail, but better to fix this now than latter :) > > Cheers, > -- > Pierre > > @pierrejoye | http://www.libgd.org > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --047d7b2e0707bedc9f04f8cce4a9--