Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116115 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 57486 invoked from network); 21 Sep 2021 16:15:48 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 21 Sep 2021 16:15:48 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 180571804DB for ; Tue, 21 Sep 2021 09:56:47 -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,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-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) (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 09:56:46 -0700 (PDT) Received: by mail-ot1-f43.google.com with SMTP id c42-20020a05683034aa00b0051f4b99c40cso29279895otu.0 for ; Tue, 21 Sep 2021 09:56:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newclarity-net.20210112.gappssmtp.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=5XMUnwtxF3oKVdnTvgoH5axYD9TG3A9/Hxr0DfGls8I=; b=IQ28VMNvLtnC2x1a3p2UMeiEGUsrt1PPhfjEOVzIV3dtjYf8nLFaScVwmbJj8uc7gh iyb0yhJ6NVVoFr7IZ1aedAAmSxPlBS7GJ+iOHr5mjcvLtN2YFWwI84NPZlGoe8NOEcEU WXKeFA/l1PZyqLNsUbrnh9HP06BYuoQAsposOF/Yn/dl1+ebMiRl/OmEy6ZP6wIh9R7Q mI9g+on1qaZO6UUGo1czWEzhRkGzBqggNJbEfvuQhmpqHLtgAFVwd6MrTFvPC5yKcveS FUTORX34MzhDPYcgOQHP8RlCJzIIc6ydDkUGKIfY7fA2+s/1ueyil24odUq3ROqd/j9E niwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=5XMUnwtxF3oKVdnTvgoH5axYD9TG3A9/Hxr0DfGls8I=; b=RNLMzebx9CqGkIByTOkvGs5+ZsoaglH3oWRNFVZ/mpprpg5Y9H/qMyqDW9kj04gqxw RL2cbPmNS4NPExjpvh4hpXfAWTBwBkA0nRN81RgMpw067T+Ey4YqhiycvEIIWzTeHkCd fxPYHE5+s7xfrdzcYZIRYvBUWPJi8Z58I8RZTbrkI4BrTpKg90gfb27Q8UVBT6yCfzuw IUfRmFgaJMtjaL3lELGKrMJJmvvuwQVYKYztxln8hhUDNZTRWCjQ4y8qWT4lhnsTOVl4 xEZ3u0qFrayLPGMJdsYiCDIZ8kAb3+/ZKRZws1DQ6srsTTczp5ymoO5pO+AYVGFFVY3g +amg== X-Gm-Message-State: AOAM531GB1KVshw36Pe78pNVPaYzqjAvL8i/F37HUFBr4kIhn3AZxDDS xxtpNlTapr9iKhqOThMxoZsxNeWDY5taQo2c X-Google-Smtp-Source: ABdhPJyDC3vTZZ3gP8CFfxw3bfxN41mRPn9Qp1QooL2wrKlCbiapm81b6t1USBkm4SAbZrOxULaOLA== X-Received: by 2002:a05:6830:1e77:: with SMTP id m23mr9860532otr.305.1632243405000; Tue, 21 Sep 2021 09:56:45 -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 v186sm4254987oig.52.2021.09.21.09.56.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Sep 2021 09:56:44 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) In-Reply-To: Date: Tue, 21 Sep 2021 12:56:43 -0400 Cc: "internals@lists.php.net" Content-Transfer-Encoding: quoted-printable Message-ID: <67BFE5C6-3C3F-4309-97A2-14CA0D8C3B3B@newclarity.net> References: To: Pierre Joye 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) > 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. 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? =20 -Mike=