Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116116 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 60134 invoked from network); 21 Sep 2021 16:31:30 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 21 Sep 2021 16:31:30 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 53B491804B2 for ; Tue, 21 Sep 2021 10:12:29 -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=-0.7 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS 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-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) (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 10:12:28 -0700 (PDT) Received: by mail-ot1-f46.google.com with SMTP id j11-20020a9d190b000000b00546fac94456so12827539ota.6 for ; Tue, 21 Sep 2021 10:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qlhtp9EPoLEncQMb6P4UpUd6mlBGFmQ6qFr9VOGwCDk=; b=CgOl2FkrA1XXddVRzr/soyceOWDBicypKfV2fhNiHhr7Jnw6u7yb6ZiYCz2Rqr/Xmn J5rpxDlWzgLkRiLvuC5K0nOwfUpAcwK5ZZgxENfJE/YdE0WNZJ1ug84BJ3itM5zUx53C UjNm4NFot213eRUhki9/OMvXA6Ajckup+2bFvf66AI0Q775J1dovhxlpKcLVD2+a6WPB 87Jw/eg5bFRzBpJkvSnP/tnlwRahp6HFrqnGASRFFCWu+yDMzSQfZwy1clOrm4RAeHAP ++bXPin1yJxLFiCoJEe9DhWwoUsrjF8/SwwDT7s2sIhnhxdmEoW7vB0JN4YXlCM8O8RV yNFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qlhtp9EPoLEncQMb6P4UpUd6mlBGFmQ6qFr9VOGwCDk=; b=WyYZXTxlETGPyiCfITEwZgcVR19Y7dp5dQCFG+SpudHmIur+PWFnQc0/q+X5FTW9Iw RZLEK9fHPGlnMPZ2C+30DrXuyUupHnRAKdXeEn6Xohi5zicJrXkCirmteEGEspm9hHty kdr7cM5NA3dkMeBhAxNcep2pR10GFvnCowwkI5Tn0IJEV8xiWCkSpVmJdFje4rzDPTK+ HN6bYVHiCY9ZAcTsNDibxoqT1YIlckBPMixuMjb61f+CzDwv9JcIY2lOBMHoQFAwjTFy eN305NRbu4JLW/T1iqkYJSaXyMGsYnNFhOYHv8unC3xMj0mo1M3XThgGDkCThIh60tmU TWtQ== X-Gm-Message-State: AOAM5321GhJv0ZMLp5csbxyRjeS5HsefJSa8L0kLoiixpghCtfDmy1cO NtXtcPaWTg5fzVV7NNEOz/XgpXbcEhL1JgZPfWuy6aHCYe+vig== X-Google-Smtp-Source: ABdhPJwSrOiXURmhxrCHRfx3Yxq9oIuI4C5VI8J8djar5ydPHOReiibgjMUDuZ2wxOiIPY+nVG44EJzzhr8oa1RzwQs= X-Received: by 2002:a9d:6252:: with SMTP id i18mr19593009otk.254.1632244346560; Tue, 21 Sep 2021 10:12:26 -0700 (PDT) MIME-Version: 1.0 References: <67BFE5C6-3C3F-4309-97A2-14CA0D8C3B3B@newclarity.net> In-Reply-To: <67BFE5C6-3C3F-4309-97A2-14CA0D8C3B3B@newclarity.net> Date: Wed, 22 Sep 2021 00:12:14 +0700 Message-ID: To: Mike Schinkel Cc: PHP internals Content-Type: multipart/alternative; boundary="00000000000076a2fb05cc848063" Subject: Re: [PHP-DEV] Adding `final class Deque` to PHP From: pierre.php@gmail.com (Pierre Joye) --00000000000076a2fb05cc848063 Content-Type: text/plain; charset="UTF-8" On Tue, Sep 21, 2021, 11:56 PM Mike Schinkel wrote: > > On Sep 21, 2021, at 3:45 AM, Pierre Joye wrote: > > > > On Tue, Sep 21, 2021 at 11:21 AM Mike Schinkel > wrote: > > > >> 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. > >> > >> 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? > > > > 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. > > 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. > > > We expect our > > users to know all weird names of different patterns, I trust them to > > be able to learn what a Deque is. :) > > 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? It is not what I was trying to explain. However if one looks at the php documentation looking for specific things like these, the Deque will be there. 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. best, --00000000000076a2fb05cc848063--