Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105056 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 98174 invoked from network); 3 Apr 2019 20:15:08 -0000 Received: from unknown (HELO mail-lf1-f48.google.com) (209.85.167.48) by pb1.pair.com with SMTP; 3 Apr 2019 20:15:08 -0000 Received: by mail-lf1-f48.google.com with SMTP id d18so12281329lfn.3 for ; Wed, 03 Apr 2019 10:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3T1SuJbe1MnARbc5TFrzf2jiY8MCFFUS+/ffrZU9iZ8=; b=S5ODv3AprLSycfatR4we2+0LBw/oTXsCC6uMBD7brGe1alYCXxtMdvzMd7hxZDQNt1 0HYm+vhOsfKW0JAtijEj+pRAziC99opZpZXx94UL5w3zrHMDbPVj5PXNghIq3nnj2bS6 yUWXRlDYaLPKSbZ5q0IQD99Bhcdeh/kdwv9b0PGONljbQY0QoT5N2ucK3biJJNhHMyXg RqNFaxmVh7pqNQBrSy3yaubf5QcTjPqdYe/YK4HG0Q3EClXXinoYm5Sdr/ldxtLOFMLy /dt3zG33lfKfshvwTiTadVklzbTgqI9bjfX9TRfYh2i9d36CjA40XCEuFMUj1Np+dXWj io6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3T1SuJbe1MnARbc5TFrzf2jiY8MCFFUS+/ffrZU9iZ8=; b=NPVhtG/H1XyGv1yL7Q+gwer8AQofZc1mSG+Nro0qpqwGWkVehhuVu6q9UZcXUvfW8A 85PkFRZWjvCkLseStjgOzk1ZHgMQjURJdPesXAmQQYxZmfMlNcHafGjTRny5lnSbPR0P JOLUECvtlfSgX8FF6J8EuY9IgNpywDwdv8wKiSyarp9vF4E+9n6fwtH6JLtQQO3ESlZo 9kdkWqJSyTXIo/PnUFMAQ7aZYw3vxkn/R2JhaIAruBeDIojOY4UOKd/L9Uzo4yTcns31 V0Od1tF3C+1AaLcJBB892wGIXBAbg5RY/a/6z0ST54g/RkKx8VFYZ0RbEKPX5cwizbtC bqbA== X-Gm-Message-State: APjAAAUmDRfazMoj90MQiSUimIPcqQtbeIr/yHGqogAO1CNt/+Dw/uVb yURcsgAx/BsB2Pxd/Wsvpu5R2JS/kKlA5C5tsKU= X-Google-Smtp-Source: APXvYqyJ5EL6SU2zfdZZneI541oI9VcBhNq/4jr63g4bvjiEFtYB2cJDWz6O/t8/rXLSMiBx6LRDNVk8+HGPWQJBIO0= X-Received: by 2002:a19:ec14:: with SMTP id b20mr473893lfa.55.1554311434055; Wed, 03 Apr 2019 10:10:34 -0700 (PDT) MIME-Version: 1.0 References: <65AF9E1E-DFA6-47AE-952B-9ABEBD9B6038@gmail.com> In-Reply-To: <65AF9E1E-DFA6-47AE-952B-9ABEBD9B6038@gmail.com> Date: Wed, 3 Apr 2019 10:10:23 -0700 Message-ID: To: Claude Pache Cc: Rowan Collins , PHP internals Content-Type: multipart/alternative; boundary="000000000000e5b3070585a354a6" Subject: Re: [PHP-DEV] Question about adding !function_identifier From: mo.mu.wss@gmail.com ("M. W. Moe") --000000000000e5b3070585a354a6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, yes this is very true, but still foreign to the language construct; empty contextual indicators it's what we usually do in C and assembly (it has no cost) especially on extra sensitive code to make it short. On Wed, Apr 3, 2019 at 10:00 AM Claude Pache wrote= : > > > > Le 3 avr. 2019 =C3=A0 18:52, M. W. Moe a =C3=A9cr= it : > > > > Hello, > > > > 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. > > > > 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. > > > > 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 hav= e > 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 > > --000000000000e5b3070585a354a6--