Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124030 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 5121B1A009C for ; Sat, 29 Jun 2024 12:27:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1719664151; bh=xKoQsv+jWAQ4SoeVmFctbN3npyYyBOkdJJ+UXGiS7mI=; h=Date:From:To:Subject:In-Reply-To:References:From; b=Bs8R7f2x+TVRJ7xEaAzy6Ueg/pp2nsA2wz4LuN13eioxJWS5Hx5ridtDfa40Hnohs o9s3+ojMbWhHT2eGAMa0EbO3BEJ5Q3UzzCBopSU3FUQ1+FHy73SCN7BJvJLoFdnkkl maGrtmJmkJV8BrXhw+PXhPuiCJh+D2D9qzg+Woli2B/zonpAQHHLvm8f9VaA7ZWdOZ Xk+q0Z4PQaxEEZ0uBdLuspiUf9xro7OOXlgNtcPjlRK52buvxxi08kMutdrwUpUs4c KP6A7fKqALldY8w6sMAfcDRjaCoexr3hRY1h7KFWGx34TaxZu8K2xgsORz6wZotKFE ASXCMnjYqllVg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D5E5018005B for ; Sat, 29 Jun 2024 12:29:08 +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=-0.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from wfhigh8-smtp.messagingengine.com (wfhigh8-smtp.messagingengine.com [64.147.123.159]) (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 ; Sat, 29 Jun 2024 12:29:08 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.west.internal (Postfix) with ESMTP id A9A3218000DC for ; Sat, 29 Jun 2024 08:27:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 29 Jun 2024 08:27:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rwec.co.uk; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1719664066; x=1719750466; bh=LdqOzwqAFZ2s7440DfjDA1cmYGblap7pZhGkPZtUwJw=; b= fnqfXuwkD5c05Gk9GDVBgzmsEisjHVOj9Kja+RWe0f0hi5U8FPDxsnoinqWh7CgG Zylob640MDROIRro/27dCWZGzGdlxBqtYEFfX0csruU0Q1vnMlJ5jf7yr3+zZpYE jX6FDgo7KgCnEhq+rMJpGFeZ9Z1JhNdN6GB3umJrs3hfUvHjp/8Gu+gPBFaGAalY tvo87qk1wlug+BqGWIG35BgHMhWcbVe2mmI3ertyI5s1YiyC2n/Br835rLrVMWEm tI6w+TlbRa+22LM+LcGJvAxm11jEpuLuWXtDHMagsJgMrFOhJCaQ5krhAO0e29Rp VQbH8K4IFwtyCyZBjMB9sA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1719664066; x= 1719750466; bh=LdqOzwqAFZ2s7440DfjDA1cmYGblap7pZhGkPZtUwJw=; b=Y Aw1rRsr0xI3Lfe7eVkN2Y193/M0yvQnANrxIkCqHrwmG+/fqYfx8gi0iNnsrLJy6 r1Cyg8oHaQ0Y2fluuhT50tLAOMIhA3O5FjO5W76IxoCB05xNTHM81EUls7fpwdye 2WxVPhiiyO6Qb6ZbsaRxbFl9puwY3neVvuh5jxoFFhyGbV4PiOv6dYAB+mWB/r8G xB3+kVWy2a8HaXcoQ3eGmULPekv/pvIWnby376COiK+AXylvW+G/rjeFzO8apjct zAF2drmuHOTcquTx8u1GCsXHKI0+GF/itdyMVbyi/8QGef0tMRjgvLJcE26DIdkW seDmIekedZHyHbHBM2zow== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrtdelgdehfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffufggjfhfkgggtgfesthhqmh dttderjeenucfhrhhomhepfdftohifrghnucfvohhmmhhinhhsucglkffoufhorfgnfdcu oehimhhsohhprdhphhhpsehrfigvtgdrtghordhukheqnecuggftrfgrthhtvghrnhephe elffetiefgveduteefudegtdduveeludegueegleehiefhhefgtdekveevgfelnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihhmshhophdrph hhphesrhifvggtrdgtohdruhhk X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 29 Jun 2024 08:27:45 -0400 (EDT) Date: Sat, 29 Jun 2024 13:27:41 +0100 To: internals@lists.php.net Subject: =?US-ASCII?Q?Re=3A_=5BPHP-DEV=5D_=5BInitial_Feedback=5D_PHP_User_Mo?= =?US-ASCII?Q?dules_-_An_Adaptation_of_ES6_from_JavaScript?= User-Agent: K-9 Mail for Android In-Reply-To: <97EA49E2-43A9-42D2-B493-A6B66CC54914@edison.tech> References: <0acedb8e-34be-4348-907b-4075cf7641fd@app.fastmail.com> <9c20b078-f82a-47fe-af23-2f3cdd233079@app.fastmail.com> <50529C6A-42BB-4D49-B720-FE1847577484@rwec.co.uk> <97EA49E2-43A9-42D2-B493-A6B66CC54914@edison.tech> Message-ID: <1E8F63D8-68AA-4D9F-A9DB-EF989F7E6D17@rwec.co.uk> Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On 29 June 2024 11:56:43 BST, Mike Schinkel wrote: >That list is just package-specific, nothing about syntax, data types, con= trol structures, package management, etc=2E etc=2E It includes fundamental design decisions like "what does a class name look= like", and "how are classes identified across boundaries"=2E If names aren= 't universal, what does ::class return? How does resolution work in a DI co= ntainer? Etc etc etc=2E=20 I'm sure Go has answers to all those questions, but so does PHP, and I've = not seen any convincing argument why we should throw it all away and start = again=2E >> Rather than looking at languages which have done things completely dif= ferently,=20 >=20 >There is nothing "completely" different about JavaScript, or Go for that = matter=2E All three of JS, Go, and PHP are descendants of C=2E You have misread what I wrote=2E I didn't say *the languages* are differen= t, I said *the decisions they have made around namespaces and packages* are= different=2E There is no "genetic fallacy" or "gatekeeping" involved, I'm saying it wil= l be easier to apply a design that shares some characteristics with what we= have, than to rewrite the language to fit a design which shares none=2E The descriptions of the *design of packages* in JS and Go make me think th= ey don't have enough in common with PHP to be easy to apply, so I'm suggest= ing we look at other designs=2E Rowan Tommins [IMSoP]