Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86417 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68013 invoked from network); 28 May 2015 03:05:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 May 2015 03:05:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.172 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.214.172 mail-ob0-f172.google.com Received: from [209.85.214.172] ([209.85.214.172:33148] helo=mail-ob0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 46/B0-60118-FF586655 for ; Wed, 27 May 2015 23:05:35 -0400 Received: by obbnx5 with SMTP id nx5so22836948obb.0 for ; Wed, 27 May 2015 20:05:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=TfaT8bXRVA81TnyygqJiJNVyejF1WUgihHnOaVfkes0=; b=MOpVd2yNonVfT3l2JO1PWLVuwLsLbENnQFr939e37+lNow+x1ge6PPRycrh2iq4mMJ Fj9g0tJkxEg7HTGmxkxccGrOL4jiLebWbqynGiXkAFfZZefqVK1mePMxirhU47Ggoem7 3CMjpIuxQTDGCwmwAZU453Qv34is8vfkunQBzblRqIVPCQWEhVVjrRED4B23eBJwLvWw v1hUt7FDGn6xwscz++q+IYTnm/SfQEkmBMBE+W/bWd7KtnLN1iDTRg1Gtmm2G401oCpb vEKnD/RljBSNJlAtAtwmmeg4lTJUbcikeo7oMiuXpL+BlUmcp1wSbIorASbd9TIfbp2I XwKQ== X-Received: by 10.202.227.15 with SMTP id a15mr340252oih.59.1432782332637; Wed, 27 May 2015 20:05:32 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.202.170.196 with HTTP; Wed, 27 May 2015 20:04:52 -0700 (PDT) In-Reply-To: References: Date: Thu, 28 May 2015 12:04:52 +0900 X-Google-Sender-Auth: gi-rxNURoQZOho-wDT6CGWXLSgc Message-ID: To: Scott Arciszewski Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11407beefa3d9005171ba139 Subject: Re: [PHP-DEV] [RFC] [PHP 7.1] libsodium From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11407beefa3d9005171ba139 Content-Type: text/plain; charset=UTF-8 Hi Scott, On Mon, May 25, 2015 at 6:42 PM, Scott Arciszewski wrote: > How should we reconcile your standard recommendations with NaCl proper and > how libsodium is used in other languages? > > I'll try to loop Frank Denis in on this conversation again, but any > specific objections (esp. bikeshedding) would probably be best moved > towards new issues on the jedisct1/libsodium GitHub repository. > If you look into PHP core modules, you'll notice that almost all functions/methods/classes that are recently added have standard names. I'm aware of there are exceptions, like old names before standards, named wrongly by mistake. These are exceptions. Unless we honor the standard, we'll never achieve naming consistency. PHP module should have its own names if function/method names underlying library does not match the standard. You may name them whatever you think appropriate. Getting rid of "_" might be good enough for most methods. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11407beefa3d9005171ba139--