Re: [PHP-DEV] P++: FAQ

2019-08-12 Thread Zeev Suraski
On Mon, Aug 12, 2019 at 2:56 PM Arnold Daniels wrote: > I've added a list of concerns to the FAQ. These are both taken from the > discussion as well as concerns I have myself. > Along the lines of the 'counterpoint' to short tags, I moved the concerns into a separate page here: http://wiki.php.

Re: [PHP-DEV] P++: FAQ

2019-08-12 Thread Thomas Hruska
On 8/12/2019 2:06 AM, Benjamin Eberlei wrote: What would be the plan to boost or change the reputation? How are you going to find P++ in Google? How are users searching for things with PHP and P++? What's the documentation going to look like for two languages that share so much? Specifically from

Re: [PHP-DEV] Call for participation: Annotating internal function argument and return types

2019-08-12 Thread Dik Takken
Hi, I'd be happy to donate some time to this effort as well. If you just assign me a file or directory (not too much at once please) I can create a PR that covers that part of the code base. Would that work for you? Regards, Dik On 10-08-19 12:56, Nikita Popov wrote: > Hi, > > Lack of type inf

Re: [PHP-DEV] [RFC] Namespace-scoped declares, again

2019-08-12 Thread Michał Brzuchalski
Hi Larry, pon., 12 sie 2019 o 15:45 Larry Garfield napisał(a): > > Has anyone done in-depth research into how other languages handle > packages, and what advantages packages would have over just our existing > nested namespaces? I feel like there's ample prior art here that we should > not igno

Re: [PHP-DEV] [RFC] Namespace-scoped declares, again

2019-08-12 Thread Mark Randall
On 12/08/2019 14:45, Larry Garfield wrote: I don't think declaring the package in each file is necessarily bad. Every language I've worked in either has you declare a package explicitly or implies it off of the file system and you don't get any say in the matter. Of the two, I prefer the for

Re: [PHP-DEV] [RFC] Namespace-scoped declares, again

2019-08-12 Thread Larry Garfield
On Mon, Aug 12, 2019, at 3:26 AM, Nikita Popov wrote: > On Mon, Aug 12, 2019 at 10:17 AM Nicolas Grekas < > nicolas.grekas+...@gmail.com> wrote: > > I've read discussions about the notion of a "package" and the way we > > should define its boundaries. > > What about the following? > > > > Individu

Re: [PHP-DEV] [RFC] Namespace-scoped declares, again

2019-08-12 Thread Thomas Nunninger
Hi, Am 12.08.19 um 10:26 schrieb Nikita Popov: On Mon, Aug 12, 2019 at 10:17 AM Nicolas Grekas < nicolas.grekas+...@gmail.com> wrote: Le lun. 11 déc. 2017 à 14:44, Nikita Popov a écrit : Some time ago I introduced the following proposal for namespace-scoped declares: https://wiki.php.

Re: [PHP-DEV] P++: FAQ

2019-08-12 Thread Arnold Daniels
I've added a list of concerns to the FAQ. These are both taken from the discussion as well as concerns I have myself. https://wiki.php.net/pplusplus/faq#what_are_the_general_concerns Arnold [Arnold Daniels - Chat @ Spike](https://www.spikenow.com/?ref=spike-organic-signature&_ts=43s7s)

Re: [PHP-DEV] P++: FAQ

2019-08-12 Thread Andrey Hristov
On 12.08.19 г. 12:06 ч., Benjamin Eberlei wrote: On Sun, Aug 11, 2019 at 6:32 AM Andi Gutmans wrote: I must admit that the first time I read Zeev’s email I got anxious... but it is frustrating that PHP has a WAY better runtime than Python and most other dynamic languages yet is falling out of

Re: [PHP-DEV] [RFC] Namespace-scoped declares, again

2019-08-12 Thread Stephen Reay
> On 12 Aug 2019, at 15:26, Nikita Popov wrote: > > On Mon, Aug 12, 2019 at 10:17 AM Nicolas Grekas < > nicolas.grekas+...@gmail.com> wrote: > >> Le lun. 11 déc. 2017 à 14:44, Nikita Popov a >> écrit : >> >>> Some time ago I introduced the following proposal for namespace-scoped >>> declares

Re: [PHP-DEV] P++: FAQ

2019-08-12 Thread Benjamin Eberlei
On Sun, Aug 11, 2019 at 6:32 AM Andi Gutmans wrote: > I must admit that the first time I read Zeev’s email I got anxious... but > it is frustrating that PHP has a WAY better runtime than Python and most > other dynamic languages yet is falling out of fashion. It’s strange given > how much better

Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags, again

2019-08-12 Thread Kris Craig
On Fri, Aug 9, 2019 at 6:25 AM Robert Korulczyk wrote: > > Disabling short tags now is done with "an explicit directive" (there has > to be a specific ini file with a specific setting 'short_open_tag = 0'). > > Isn't this the same "situation when you create a separate file with an > explicit dire

Re: [PHP-DEV] [RFC] Namespace-scoped declares, again

2019-08-12 Thread Michał Brzuchalski
Hi Nicolas, pon., 12 sie 2019 o 10:17 Nicolas Grekas napisał(a): > Le lun. 11 déc. 2017 à 14:44, Nikita Popov a écrit > : > > > Some time ago I introduced the following proposal for namespace-scoped > > declares: > > > > https://wiki.php.net/rfc/namespace_scoped_declares > > > > The idea is

Re: [PHP-DEV] [RFC] Namespace-scoped declares, again

2019-08-12 Thread Nikita Popov
On Mon, Aug 12, 2019 at 10:17 AM Nicolas Grekas < nicolas.grekas+...@gmail.com> wrote: > Le lun. 11 déc. 2017 à 14:44, Nikita Popov a > écrit : > >> Some time ago I introduced the following proposal for namespace-scoped >> declares: >> >> https://wiki.php.net/rfc/namespace_scoped_declares >>

Re: [PHP-DEV] P++: FAQ

2019-08-12 Thread Peter Bowyer
On Sun, 11 Aug 2019 at 05:32, Andi Gutmans wrote: > I must admit that the first time I read Zeev’s email I got anxious... but > it is frustrating that PHP has a WAY better runtime than Python and most > other dynamic languages yet is falling out of fashion. In the case of Python, it seems to be

Re: [PHP-DEV] [RFC] Namespace-scoped declares, again

2019-08-12 Thread Nicolas Grekas
Le lun. 11 déc. 2017 à 14:44, Nikita Popov a écrit : > Some time ago I introduced the following proposal for namespace-scoped > declares: > > https://wiki.php.net/rfc/namespace_scoped_declares > > The idea is to allow specifying declare directives for a whole library or > project using: > >