Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116118 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 71141 invoked from network); 21 Sep 2021 18:47:05 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 21 Sep 2021 18:47:05 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DD90E180002 for ; Tue, 21 Sep 2021 12:28:07 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com [209.85.210.45]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 21 Sep 2021 12:28:07 -0700 (PDT) Received: by mail-ot1-f45.google.com with SMTP id h9-20020a9d2f09000000b005453f95356cso3122285otb.11 for ; Tue, 21 Sep 2021 12:28:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newclarity-net.20210112.gappssmtp.com; s=20210112; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=iAkG130ECY9TRQhSshrULsIEXConJyR8O5kxHrEN/Dw=; b=kIdHruHGw1A/qd79w0h0sR5Vqe4DAIxtMHrCidemyl9CVtAy0L7CB+UKRQFuupMY0B m9rGSJwgyM9IYZJc/r4A+uhPd/c98njON3XMFul20QE1uskPztOqEhYSa7JLXmdT94oW gpQHSdw5g2kSZ12zJl/WQKzErPb2DWiulopKBXUfkZf0B8DChA36YSCnapcgEAJGFVyp bOkNRBQ1vcl14arfvtXHvAWEzbPbfxdgPC7mtB/U/6W/YJkqICPhHM1Ejmf4TG2B3YQ+ 7jWLRLOrMxbMWldJZ0up8eUMtEsoMFAWAW40apfgqYd2qHKHijDAt7byOURJ0NgFFC7L QYAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=iAkG130ECY9TRQhSshrULsIEXConJyR8O5kxHrEN/Dw=; b=aTA3/k/hjYIEnfZqnyH3yLH2mst8yyu4qUxmnoL/3GHpATsbaG4x0RRurQUFtI3MbK omv6AzVz/N69bNiw7loSz2Pr+tR8PTrxKaZkMfSHNJy/712B+PQEX2zFZCFBw4Q4vpXa vo6z85HtTjel/ZsvWks7bnCYaDIfzdJa2CffRLd/4iXLyaW9ggWCLc2VCXShqoao7cGu U7HLy4tUgSS7bE4p3C+GkH4xmhfU3VjLJwi0bWAg3s/kbaQEAtUCOlMh2KIeQds4CWbG hd0dEFZKOtGcgabTDDb9/htab52gkvyw99vnWpfsvDXAj3YH/qZ20iWqavG/zA1hjtQE ccMg== X-Gm-Message-State: AOAM532sNQHSXFn/v1oAQKPYOJU2m9WPMAIpQx7q2KxoHpaagxIuDWQU vqumakD5G01k/E4nLdsn6vumYG4JtNWVHZVJ X-Google-Smtp-Source: ABdhPJxodl3y03yRj0mgYBk4m3xGbv6DQGWBRBY1ZsZz/sDd5Bhz5ce3adhW2Me1udejVVtEJ0PvzA== X-Received: by 2002:a05:6830:17da:: with SMTP id p26mr13958095ota.116.1632252486768; Tue, 21 Sep 2021 12:28:06 -0700 (PDT) Received: from [192.168.1.10] (c-24-98-254-8.hsd1.ga.comcast.net. [24.98.254.8]) by smtp.gmail.com with ESMTPSA id w206sm2899042oib.19.2021.09.21.12.28.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Sep 2021 12:28:06 -0700 (PDT) Message-ID: <7BEE0406-3CAE-4E83-A196-F9F608BE8D17@newclarity.net> Content-Type: multipart/alternative; boundary="Apple-Mail=_FE1877EE-B0C5-4DB1-84C1-763DB4E93341" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Date: Tue, 21 Sep 2021 15:28:05 -0400 In-Reply-To: Cc: PHP internals To: Pierre Joye References: <67BFE5C6-3C3F-4309-97A2-14CA0D8C3B3B@newclarity.net> X-Mailer: Apple Mail (2.3608.120.23.2.7) Subject: Re: [PHP-DEV] Adding `final class Deque` to PHP From: mike@newclarity.net (Mike Schinkel) --Apple-Mail=_FE1877EE-B0C5-4DB1-84C1-763DB4E93341 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Sep 21, 2021, at 1:12 PM, Pierre Joye wrote: > On Tue, Sep 21, 2021, 11:56 PM Mike Schinkel > wrote: > > On Sep 21, 2021, at 3:45 AM, Pierre Joye > wrote: > >=20 > > On Tue, Sep 21, 2021 at 11:21 AM Mike Schinkel > wrote: > >=20 > >> Honestly, at first I confused `Deque` with `Dequeue` and was = wondering why we would name a class with a verb? It wasn't until = Rowan's comment that I realized `Deque` is an abbreviation. > >>=20 > >> Which begs the question: how many other PHP developers will know = computer science terms like this well enough to know `Deque` is a noun = when they see it, and more importantly how many PHP developers will = think to search for `Deque` when they need a queue? > >=20 > > Unlike the Vector name which is really confusing as it is not a > > vector, Deque is actually relatively known for anyone needing a = double > > ended queue. It even comes first in google search, wikipedia or java > > implementations, which matches this implementation. >=20 > Being able to google what Deque means is one thing, but thinking to = search for it when you don't know it exists *and* you don't know that = Deque is the term you would need to be searching for. >=20 > > We expect our > > users to know all weird names of different patterns, I trust them to > > be able to learn what a Deque is. :) >=20 > So we expect PHP developers to have a computer science background? = Maybe you are assuming everyone minimally has your expertise? Have we = as a group decided to forsake beginners?=20 >=20 >=20 > It is not what I was trying to explain. >=20 > However if one looks at the php documentation looking for specific = things like these, the Deque will be there.=20 >=20 > So I am not expecting anyone to have a CS background (btw, I don't), = however I do have a minimal trust in users reading the docs and doing a = minimum of research.=20 And what I was trying to explain is that given my past experience = working with other PHP developers, I believe that trust is misplaced for = many. =20 And why make it harder than it needs to be? For PHP, jargon is Bad(tm), = IMHO anyway. -Mike --Apple-Mail=_FE1877EE-B0C5-4DB1-84C1-763DB4E93341--