Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126782 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 36A881A00BC for ; Sun, 16 Mar 2025 07:19:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1742109392; bh=efRvlBUAvgfzFUjmX6/nkFjkd0Z44scdsrSrvab491k=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=fvR4s/epkNTpHZ+2HiAB8EgxEDh8WAGgK26Aj8DByKZhVDIR8uIoXbsQABrAraQfy 9LJox381iFxpp/2mT0FI4g/vp33CRVaDswnt1iw0Nm84Q+QN3eHGyVCyphJiVX45MY AiCyj9RXL+Fq7/lpvtz5FDMesKdAIW9shM4RMTZcojpxJ+Vv5tZyRzbKX+wgPg3TQj EVWqK7R6rL9TfVNXlTgXzn8cYxfqUALE5hhJKLcTAaoutZGZnrn9X/ffeC8aBNMHFk +Qdhuk14z4dENHeHoA54Zv+fUDBdKfVGfubwjDxf7RvjSQfEW3kkAUHNQX1B3/AJK9 /i1v8OegE5lBA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0C485180072 for ; Sun, 16 Mar 2025 07:16:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com [209.85.128.179]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 16 Mar 2025 07:16:31 +0000 (UTC) Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-6fecfae554bso30219077b3.0 for ; Sun, 16 Mar 2025 00:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742109543; x=1742714343; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mWAMOiSqyv5fJBQywuBJrahL9GOy1h9k5SFL6mW2WB0=; b=OzxtgxiN3b8x03AL79UsV5ppn5TqowsrdnionHlC6D800ogKk3P9Hb+kIbPyPZHM56 SWO3UdRkeJXi+6e+9XAQlnnVJR6GxIM2jH7YC5WK/x6/KKNHHF/lGHAiOluvcvNjJGwJ B55+E5JomblNpWUT8sYo/UobacjV74Y0ub2w3C94hSgUwT7SSDVE50in6rzKZZL8Wxsk 0WmymDS3uot0mR+3vuV4V4O3UvMHXM0B/dx7keC6UKIFRiWkUyzyyUeU9lPFIAvqjA9G 4Yk2E7HgqssL1b3TYBZ0wqLYcQMH/W1Mps16/C+RQWSQOOj4BvJ6xGJO5//81bF4k/Nw 6SLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742109543; x=1742714343; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mWAMOiSqyv5fJBQywuBJrahL9GOy1h9k5SFL6mW2WB0=; b=GoTyDjLXZxfMAkFOhsMX0ORqMO1UHD/Ax4if/WXa30ML7KQKKvaX5BJDKkpkuq1YUu BBSKMdHpvCCftwp6U5DZWBHyG4MLbGKANYUc3ZPwp2C6J49Y/2ea+GN97gW1rK66dG7k H26nQ4/7J1Jo6PraB0bhKWJdI5dC9xlH4YKo1vdSIx7PH/KOldc4OiIvDJdOUYGW+fhD ZngPY7SOACwOxHsjEXMQlSrYfYj42pvx4KcWyPzGIFuEWAh+LjJc6tKqsr9MSLB5yICv LjVmGc6zo/vfcIF0X2jPmZDzQ9BzCZn2EdsA59vsXNoonj33OmKkHyXPJVi0kiqatjot QUpQ== X-Gm-Message-State: AOJu0YzT4UWNB2plOlrot2d4F/RvkEMzj++/q5teziOBxHGrMbyfTeIE KyHVXMTGDRxvOwaBofRopkDwybEvVPpQp6Ra900dMEIjnHKB53w8mWlPkg0k2auNOvG02EYsChd JttqcNYszVv33va6bLucwk/5X6gfJMzPVR68= X-Gm-Gg: ASbGnctMd8/iKsfJXUFOnIlVsJMrp1shK6zRI4SOMZyGjdnHw2iAvt1kps3TT1YDtdf 3QHH6FXa01SY80am0aWAwJCzSmeq3KvC+qt5i4PZss8fj8GSgwLeh7B9vDQL/G34w6pbfjZA5aY VfWvVIR2wbPhigpD3W9bvXDTI50Uo= X-Google-Smtp-Source: AGHT+IHnGFwFu/J9d4aT6ifchGUYhjaWAsDur5QgexE99q4Q9hfDzVT0WLB85+RPUBV38I7jHkNeL3u6R2W3sDKscfg= X-Received: by 2002:a05:690c:3807:b0:6f9:4bb6:eb4e with SMTP id 00721157ae682-6ff46050dd4mr108787077b3.31.1742109543088; Sun, 16 Mar 2025 00:19:03 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <084101db94b8$73da47e0$5b8ed7a0$@glaive.pro> In-Reply-To: Date: Sun, 16 Mar 2025 09:18:50 +0200 X-Gm-Features: AQ5f1Jo6VyYu4PaVcuV519O8k6EG2HfLLfLxo5QvKGhOJ8R1dYHOMs3MgaUQ_Qo Message-ID: Subject: Re: [PHP-DEV] [VOTE] Optional Interfaces To: Juris Evertovskis Cc: php internals Content-Type: multipart/alternative; boundary="00000000000079cb050630707c33" From: drealecs@gmail.com (=?UTF-8?Q?Alexandru_P=C4=83tr=C4=83nescu?=) --00000000000079cb050630707c33 Content-Type: text/plain; charset="UTF-8" On Sat, Mar 15, 2025, 11:25 Juris Evertovskis wrote: > The key point, hoewever, seems to be that the naming of the feature is > excremental and very easy to misunderstand. I suppose the naming issue can > be solved separately (if a better name is found) and the documentation can > use a different naming and description if the RFC itself passes. > > > Hi Juris, Looking a bit into the naming issue, it feels like shifting from "optional interface" to "optionally implements interfaces" is something that could have help. The RFC could have used throughout the text the adverb "optionally" to the verb "to implement" or adjective "optional" to "implementation" instead of as an adjective to "interface". Also the name would have been "optional interface implementation". If you agree, and if the RFC passes, this could at least be documented as such. Was not able to find other words that matches better, as all have some drawbacks. -- Alex --00000000000079cb050630707c33 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sat, Mar 15, 2025, 11:25 Juris Evertovskis= <juris@glaive.pro> wrote:

The key point, hoewever, seems t= o be that the naming of the feature is excremental and very easy to misunde= rstand. I suppose the naming issue can be solved separately (if a better na= me is found) and the documentation can use a different naming and descripti= on if the RFC itself passes.



Hi Juris,

Looking= a bit into the naming issue, it feels like shifting from "optional in= terface" to "optionally implements interfaces" is something = that could have help.
The RFC could have used throug= hout the text the adverb "optionally" to the verb "to implem= ent" or adjective "optional" to "implementation" i= nstead of as an adjective to "interface".=C2=A0
Also the name would have been "optional interface implementation= ".

If you agree, an= d if the RFC passes, this could at least be documented as such.

Was not able to find other words th= at matches better, as all have some drawbacks.

<= /div>
--=C2=A0
Alex

--00000000000079cb050630707c33--