Re: RFC Idea - json_validate() validate schema
| From: | Michał Marcin Brzuchalski | Date: | Wed, 01 Mar 2023 16:02:29 +0000 |
| Subject: | Re: RFC Idea - json_validate() validate schema | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-119642@lists.php.net to get a copy of this message | ||
Hi Deleu,
śr., 1 mar 2023 o 16:54 Deleu <deleugyn@gmail.com> napisał(a):
>
>
> On Wed, Mar 1, 2023 at 9:36 AM Michał Marcin Brzuchalski <
> michal.brzuchalski@gmail.com> wrote:
>
>>
>> Do we really need this in core? What makes it less usable as an extension?
>>
>> Cheers,
>> Michał Marcin Brzuchalski
>>
>> >
>>
>
> Extensions are not easy to install and have a complex distribution system
> that differs greatly between Windows, Debian, Ubuntu, Alpine Linux, AWS
> Lambda, etc. I wish one day we could have something as simple and
> ubiquitous as Composer installing PHP extensions, but until then the less
> amount of extensions the better for end users.
>
I agree with your last thought. The fewer extensions the better for end
users but what I have a problem with is constantly adding functions to the
standard library instead of writing a library that fulfills the need.
Along with extensions the fewer functions/classes are bundled the better
for end users.
Cheers,
Michał Marcin Brzuchalski