Re: Refactoring run-tests.php

From: Date: Sun, 07 Jun 2020 15:17:56 +0000
Subject: Re: Refactoring run-tests.php
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-110408@lists.php.net to get a copy of this message
On Sun, 7 Jun 2020, Max Semenik wrote: > On Fri, Jun 5, 2020 at 8:04 PM Nikita Popov <nikita.ppv@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

« previous php.internals (#110408) next »