Re: [RFC] Libsodium (bump)

From: Date: Tue, 15 Mar 2016 22:02:33 +0000
Subject: Re: [RFC] Libsodium (bump)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-91684@lists.php.net to get a copy of this message
Hi Scott, On Wed, Mar 16, 2016 at 2:40 AM, Scott Arciszewski <scott@paragonie.com> wrote: > Question: If this extension is adopted, which syntax would you prefer? > > \Sodium\func() > Sodium::func() > sodium_func() I prefer both of Sodium::func() sodium_func() IMO, we are better to provide both OO and procedural API which have identical features. i.e. I prefer multi paradigm programming language. It would be natural for PHP since PHP was born as procedural language and evolving as OO. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#91684) next »