On Sun, 7 Jun 2020, Max Semenik wrote:

> On Fri, Jun 5, 2020 at 8:04 PM Nikita Popov <nikita....@gmail.com> wrote:
> 
> > Happy to accept run-tests refactorings in general (there is a lot of 
> > global state to eradicate!), but please keep it single-file. We 
> > definitely need it single-file for distribution purposes, and I 
> > don't particularly want to have a "run-tests build system" for what 
> > I perceive to be little benefit.
> 
> Once I add tests, it will just not be a single-file project anymore.

I don't think tests are the relevant issue here. Nikita is asking to 
keep it a single file project for the test runner. I agree with that 
position.

> > I'm not sure why PHP developers in particular seem to be so hung up about
> > this issue, but: There really is no need to split every class into a
> > separate file. This is how we develop in non-PHP, non-Java languages
> > (C/C++/Rust/...) all the time.
> >
> 
> <philosophy>Because PHP taught them to: can't have a serious project
> without the autoloader

You don't need an autoloader if it's all in the same file. ;-)

cheers,
Derick

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to