Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105052 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 87717 invoked from network); 3 Apr 2019 19:47:25 -0000 Received: from unknown (HELO mail-io1-f49.google.com) (209.85.166.49) by pb1.pair.com with SMTP; 3 Apr 2019 19:47:25 -0000 Received: by mail-io1-f49.google.com with SMTP id u12so14614143iop.11 for ; Wed, 03 Apr 2019 09:42:50 -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; bh=R9NLuadaQXJqPkqyNGJICVBewvMdbigLT3vX4+P8/VA=; b=KZ88X6oXBFR49Tiyw4DjWfZsdh4FoCy2KBDRnShE7iKO3ceTlz+jh+ztw4ZjDrHOau IbaGjXhNUKUOpzmCm0RH0rSwtfBuDPC+QkcfZn0Cl7cm5JxIzgVRbUTZkMuziF043tEm sYxsxWUv7lcz2ROW4sOwN99A1Dax6g2wnHePXGKCTtHTShxLjld/gOtJiibJiwrnMvvo 6joxsj0rE4cNDCpyxm+unryiF7+5AO6xkgGUhPpUu6iVaIc5GpSvUxyz7bRqpmW/qdA4 W8GQASKzWWe/SSe/+qgdTf+7nH9c/SycGFxjz3N4qcNRQMtVTHHtCkf6twIGLBE+lAFw lYGg== 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; bh=R9NLuadaQXJqPkqyNGJICVBewvMdbigLT3vX4+P8/VA=; b=qM+v1/as8iFMmMUcnBxsG2HYHt7mW/IYvgve4zZTwuvm8z5ioDQ7eNftsjh979x4e4 cW6tASoF/57Y0gmfoe0Z2mLib2YQUNlj1FVztBZUfcZzVVd5dl49a+860h1r534HHzMA Z2jtu015HwguO4qRG/EPI0sTAGikPQsHkmeaW2/dCSmJfjTXbvdYYwh+u/mHIKPfJnqD 055BbypaAauWDMvFxCt9IoMyuvFCp9rRyhsMjr14e3OSIM1MIICuV+KuwSFvEl4wyWAS B9ki30FzufvHs8zeTrg9GYXiZhEL6RFYvVFdLCujPS4UQAU071cWByX73RJTGpe0uyhk onhg== X-Gm-Message-State: APjAAAV7odowzTVQFfSazT03fJnE0jf4HlIhwYPSmIGnGzNB7Ek1lKiu YyL81XMt1R3N0SgK4ic64eKqGADktxYccy2I4qcLLsbB X-Google-Smtp-Source: APXvYqy5xa6+Yc8zLM2uNP7z+EEU1jmWSUDToyWUsowi3H/W8ePzv0gXmUwL00U68sBxOfk0ynFb0NCOlnKCwGow2jg= X-Received: by 2002:a6b:700d:: with SMTP id l13mr834259ioc.248.1554309770373; Wed, 03 Apr 2019 09:42:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 3 Apr 2019 17:42:39 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000bbee890585a2f1e6" Subject: Re: [PHP-DEV] Question about adding !function_identifier From: rowan.collins@gmail.com (Rowan Collins) --000000000000bbee890585a2f1e6 Content-Type: text/plain; charset="UTF-8" On Wed, 3 Apr 2019 at 17:27, M. W. Moe wrote: > yes this is very true; but usually on complex design with a lot of folks > working on it you start coding before documenting; > If it's just syntax that doesn't change behaviour, it's really just documentation anyway, and if people are so desperate to dig into the code that they can't write a minimal docblock (or so lazy that they won't), how likely is it that they'll correctly add this new indicator? If you want to be explicit, don't put off docblocks until later (writing them before you've even implemented the function can be a great way of clarifying your design), and use an IDE or CI tool that will tell you when they're missing or incorrect. Regards, -- Rowan Collins [IMSoP] --000000000000bbee890585a2f1e6--