Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105055 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 95015 invoked from network); 3 Apr 2019 20:05:22 -0000 Received: from unknown (HELO mail-ed1-f50.google.com) (209.85.208.50) by pb1.pair.com with SMTP; 3 Apr 2019 20:05:22 -0000 Received: by mail-ed1-f50.google.com with SMTP id a25so15568500edc.8 for ; Wed, 03 Apr 2019 10:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=2qIaVH9f5dD3sBDJ0TVzn5iRoPq62b7idPy19He5T34=; b=a55xiTTAB9gQw3W5W0kvxv7Gx3rTcJZkRa/OEpOsa+TZwMJe1mO0aqPWpTVZiVaC8J cqW3jgpURXhFFubNWk8G+wcyy6qsRrWnVAPe0pH63dPRBgd5ticlHj6DlhfAR3Orq6B3 CP5R8N95zeWC2+nA5waybgwa3ClAhzQRqK7OwJoZng2Cf1u2Opb8R+z0d90PKCplwweR XzI2HswsF18QVjyO/0w02G1IBQDN1ScxrsI+TGy9O5QfiCkvXg2V/sn5tDgaxDSM+kpN nZpN8/VIWxxkqkfeISy1JWXwnvRYpRorSxYMQXoi9FOwzuGZcafk+kXOdlbzezXGvxDG TY6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=2qIaVH9f5dD3sBDJ0TVzn5iRoPq62b7idPy19He5T34=; b=JOgilqGsDSCHba+4ycSnkS/J4ZH/dz9lf2W0gaALThGeHNud9ethBF8kGe/qaEVam1 L+vVDAujdRcVAGb+Rgy0Qv4+LXQrqtQtPS7FXQQr5b6Pq0PC07kw5Ax/KnnDD4cuN5xy 8tDznkEL0q6u2ji48ocQFZ157njrc88L6oydwg4LH0fOTzG59L4IoEHZK/B/tiDcAfKE FGh+eHiDr3m5YW09G7Rz9cYJICaJ9700tn9k083Fq+oq5sHJrUEvnGjHD+jX85SmVo8P 8Eg7KIWfaVUMHTFZdw/LhgtIkhiJkll5bEf0LgRV4Y7Nzg9OsdRr1EwFkAnWHOHgV6Ng +4zw== X-Gm-Message-State: APjAAAXCOfLkGukzBkUuE+1vhzGmI6YJlCoeXI4F2DophBFpfTqeSNal GPGrf7f7VJi3BGgbmkYLgOQ= X-Google-Smtp-Source: APXvYqzGGk48wnu4yn8/rZnJFcw6OGLWgP+AmZJkA+oUPlShlF/IVxgY6xjFpGnFoQBwh6ZAyF+9EQ== X-Received: by 2002:a17:906:4a48:: with SMTP id a8mr494255ejv.57.1554310848174; Wed, 03 Apr 2019 10:00:48 -0700 (PDT) Received: from [192.168.0.63] (84-75-30-51.dclient.hispeed.ch. [84.75.30.51]) by smtp.gmail.com with ESMTPSA id t9sm3115326ejg.54.2019.04.03.10.00.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Apr 2019 10:00:47 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) In-Reply-To: Date: Wed, 3 Apr 2019 19:00:46 +0200 Cc: Rowan Collins , PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <65AF9E1E-DFA6-47AE-952B-9ABEBD9B6038@gmail.com> References: To: "M. W. Moe" X-Mailer: Apple Mail (2.3445.104.8) Subject: Re: [PHP-DEV] Question about adding !function_identifier From: claude.pache@gmail.com (Claude Pache) > Le 3 avr. 2019 =C3=A0 18:52, M. W. Moe a =C3=A9cri= t : >=20 > Hello, >=20 > not documenting at first is not really a question of laziness or so, = as > things are still moving around > you absolutely need this agility; a good design layout between theory = and > stable state will refactored > discussed a thousand times; that what I expect from engineers; filling = the > gaps between assumptions > and reality. >=20 > And for me-self throw vs no throw is important language information = and > part of internal behaviors; > to clarify, for instance, would be more useful to have such indicator > rather than having having > abstract and interface which are cumbersome; same as the extra public > keyword; you can do without > especially with the new traits construct. >=20 > Best. If you=E2=80=99re unwilling to write a docblock for some good reason, = why not just use the built-in, user-extensible way that most programming = languages have to add annotations without runtime effect, namely = unstructured comments? Something like /* nothrow */ is both forward- and = backward-compatible... Am I missing something? =E2=80=94Claude