Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107718 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 20162 invoked from network); 28 Oct 2019 06:17:35 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 28 Oct 2019 06:17:35 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id F2AD02CD539 for ; Sun, 27 Oct 2019 21:04:53 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Virus: No Received: from mail-yw1-xc2b.google.com (mail-yw1-xc2b.google.com [IPv6:2607:f8b0:4864:20::c2b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Sun, 27 Oct 2019 21:04:53 -0700 (PDT) Received: by mail-yw1-xc2b.google.com with SMTP id i123so3338612ywe.11 for ; Sun, 27 Oct 2019 21:04:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newclarity-net.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=8r4PTyasJjTQnMOVU2mRlyYmVZG+XZyjcG8Qk5qn9V8=; b=U0BWsdaMFCdB6g4DXemJkM251j2RviLmIpKge+13lDRYVQDr2wam/UJf9XKMz9GrTM wgrkE3eWFqUVVyJldVcS9PyqNQ6BuUiYUSpQKRyIhZplCuLQ/3B7pNmOg0dSOAdcBjTj VOIcio7lUZNiIK/3kJmuc6+CpepPBkjpcsosJobUHIvA8SBxcV6b5ED526fH0dBrgr7I 9PzFR0YAB+Dpqwa2DccpaALWF5LFy5XlaWT/EkYP8W7pmPmkwwHvzfHyHloYEG8mn3Ri pffB4B1qFh7sOCHnBT0h9S+N5zYrShqeHaQs16Kzkra50M1HS8XdbrNH6RK/mhHx2eps uiwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=8r4PTyasJjTQnMOVU2mRlyYmVZG+XZyjcG8Qk5qn9V8=; b=Ej4BGHMvMAwaw5aspJmtUXE6TWWy22m8bKGEvjQnHwrI9fjlm123WBe7LGOpGW7BSQ 02KIhuMQGnvuiUsq5dbwh9BHR2SuQ3VfgsyoiOxPrHmCwLU0xrglQilquSYjPadXE79R 7Km18xubzJ4zZGIAGIkuTgYYgbEvVX5wTmUYEj4bhlTGZNUf9roPQ1/58gw6MXNVPzXn HtxEVpHtRWw2eX7ej5JRLWZm2D5om89GWzFC3zfovfM0jAtzmJj4k35lowRcEq1l9U8D LcWWlH+CRJkt9n91Q3tC4TycXLcfYD2djng8fk+e/vVphFyy+DxWia8FoQsXHHEk6zXB ekuQ== X-Gm-Message-State: APjAAAXsCUFWjfncsC5lMsj4cUP+BwCe0Aou7ou5g6i/YDpqIOABOtsh VjcoT+MwTHl7vU8qd0tLpSpSaA== X-Google-Smtp-Source: APXvYqzbXb5+h5xLgMOXYxeh3tdysfuI/B6qLHDt5VTf/AvA2MFMsRfyJx+fZZc7SLP0cHl1xZ9zdQ== X-Received: by 2002:a81:66c5:: with SMTP id a188mr11874009ywc.378.1572235492830; Sun, 27 Oct 2019 21:04:52 -0700 (PDT) Received: from ?IPv6:2601:c0:c680:5cc0:4846:f50e:1715:5361? ([2601:c0:c680:5cc0:4846:f50e:1715:5361]) by smtp.gmail.com with ESMTPSA id i128sm3997025ywc.31.2019.10.27.21.04.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Oct 2019 21:04:50 -0700 (PDT) Message-ID: <1C2F5131-3C0E-4FEF-B94C-D31872AACA76@newclarity.net> Content-Type: multipart/alternative; boundary="Apple-Mail=_23213D6C-5165-4FF9-A496-817C0D561EE7" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Date: Mon, 28 Oct 2019 00:04:48 -0400 In-Reply-To: <5db65e6f.1c69fb81.699c7.b3a8SMTPIN_ADDED_MISSING@mx.google.com> Cc: internals@lists.php.net To: Mark Randall References: <9d3f9895-5ab6-1d75-4eb2-0ba93f13a8fe@gmail.com> <9D2698F0-49A4-4EA0-BEEE-552D28BE995A@newclarity.net> <5db65e6f.1c69fb81.699c7.b3a8SMTPIN_ADDED_MISSING@mx.google.com> X-Mailer: Apple Mail (2.3445.104.11) X-Envelope-From: Subject: Re: [PHP-DEV] Optional pre-compiler for PHP8? From: mike@newclarity.net (Mike Schinkel) --Apple-Mail=_23213D6C-5165-4FF9-A496-817C0D561EE7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Oct 27, 2019, at 11:20 PM, Mark Randall wrote: >=20 > On 27/10/2019 23:56, Mike Schinkel wrote: >> 2. Allowing PHP to continue to meet the needs of new/less-skilled = programmers and/or people who want a more productive language for = smaller projects that do not need or want all the enterprisey type-safe = features. >=20 > This concept of type safety being an enterprise feature needs to die. I was not trying to take any kind of position by calling it = "enterprisey," I just needed a descriptive term and I thought that I had = heard others on this list refer to it that way. We could call it something else. What do you propose? > Types are a way of preventing your program from getting into states = that you don't expect it to be in, so you don't have to worry about = handling them in the first place. >=20 > Scalars, and strict types would have saved me _so much_ time when I = started trying to learn PHP. For the record, I too try to program as strictly as a language will = allow. But I am also aware that PHP has been a godsend for people who want to = program but are newer to programming =E2=80=94 or program very = infrequently =E2=80=94 and who struggle to get a program to just work, = even when their programming language is super forgiving. Many of those same people would just give up if they had to program in a = strict fashion before they collect the experience needed to develope the = necessary skills to program in a strict fashion. I know this because I = was a programming trainer for many years and I have watched people = struggle with things that were just dead obvious to me. But long ago I = was like them too, so I have empathy for them and their deserve to be = empowered to write useful programs even their their skill level is not = high. Hence the desire for a descriptive term. -Mike P.S. I've also run across lazy programmers who program full time but = have no desire to get better. And I have fired many of them too. I have = no empathy for them.= --Apple-Mail=_23213D6C-5165-4FF9-A496-817C0D561EE7--