Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103975 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 66426 invoked from network); 1 Feb 2019 14:10:25 -0000 Received: from unknown (HELO mail-io1-f52.google.com) (209.85.166.52) by pb1.pair.com with SMTP; 1 Feb 2019 14:10:25 -0000 Received: by mail-io1-f52.google.com with SMTP id x6so5297641ioa.9 for ; Fri, 01 Feb 2019 02:50:31 -0800 (PST) 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=7xntUKIc6fZAZYicdgkJm5E4Jv9eHLhrQ8Ap3FWrYEY=; b=I+DzLjH5VusOXB9dZppE/QESXbhr6P0HGnZh3UMSfAU9QGAGj10NCcUgeXjntsPAql tDAWvrN4S5AmxocWldAvmT5RGisb1X4uOCB9cNBjSP5I6tMK5Ol9SKrwrvABeqN2O2MZ eB9yQtmIVNGvc2sxKYMm2yo1Jj6FSKr+d6JAOJlOd9rGR0VO4YAYJ3tL2gZ5gDsoBrGJ M9tIOOHOJy5u9CUeWBBpwNt8P3dG/dUdRgDmhtPctdEgY/zjpss6/XpDHcEAiF4u8eCF eO4k6vrKhOPP8LFnduLMQQGx9ek2m/8uicyG6N+iJ6Gikkp7IPqXEWKSm/bkXwdXvSjO RcxQ== 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=7xntUKIc6fZAZYicdgkJm5E4Jv9eHLhrQ8Ap3FWrYEY=; b=gbRe33Jjh4AIr4q9ryu1B5xr6BFHxklC8lDlS7ojI89VO5QeNV8Gj+jQsxRViI8Xro Yi1OHpXlLbinKI0N37hdLDX28aze4MOZtyj4yRq1SNzC9v2W6btFMbhM+MVF918NjDZ4 G8p/xNHFoUhLr4VoLCV8VWtjVfXIMGLdHYSgKsyhylsgJ3lSm1heacIc8UkHK163PJGE 279EsWPKLAdvv4M34tW3lx+u6vJLYFmVKTV5yLh3Z6WfP98qTE6sgpKQdC5n0uMwt88e lwKXp2H18Yt0ve2/Dms7EnYyfhUenZYmk8G/TK4wcu6SDtgUY8ZYls8LmpGPxHFOK1Py snVg== X-Gm-Message-State: AHQUAubqbvIy8rjXasQUx0TWJhuhsSOypig4rpOMWoi+VBU8yBD0+D5s LfBZoC6kMFdSfJQEbZjubcDf5+PBQxzGTKfHZ6w= X-Google-Smtp-Source: AHgI3IZh431f2MvYxr0LOYHIgnZAJSae1bORBqHn29240JT7Vwac9Q0Zj1SE0b1zzP3lxDpbHvAYr6b/mJwk3ShGyZs= X-Received: by 2002:a6b:7402:: with SMTP id s2mr7358933iog.219.1549018231329; Fri, 01 Feb 2019 02:50:31 -0800 (PST) MIME-Version: 1.0 References: <0243D3A4-2C15-4B31-81A8-C2E5892913F9@koalephant.com> <2d8efb96-ed1f-28e4-e0fe-603a2d0f1962@gmail.com> In-Reply-To: Date: Fri, 1 Feb 2019 10:50:20 +0000 Message-ID: To: Yasuo Ohgaki Cc: Peter Kokot , Internals Content-Type: multipart/alternative; boundary="0000000000006dd6c10580d2e905" Subject: Re: [PHP-DEV] Deprecation ideas for PHP 8 From: rowan.collins@gmail.com (Rowan Collins) --0000000000006dd6c10580d2e905 Content-Type: text/plain; charset="UTF-8" On Fri, 1 Feb 2019 at 09:47, Yasuo Ohgaki wrote: > Aliases may stay defined 10, 20 years or even forever for POSIX(IEEE) > names. > So there wouldn't be compatibility issues for CODING_STANDARD names. > I think this would be the worst of both worlds. We would have to permanently document two different names for every function, examples (outside of php.net) would still have the old names in, people would disagree about which to use, and the situation would be more confusing to new users, not less. This already happens with count() vs sizeof() - people get used to one or the other, and are confused when they see the other in someone else's code. > Bottom line is almost all developers dislike inconsistent names, prefer > to enter extra few chars. I think almost all developers would like to spend their effort making material improvements to the robustness or functionality of their code. That might include replacing htmlspecialchars with a smarter escaping or "taint" tracking system; but it woudln't include renaming it in all their code bases, or debating which of two valid names to use in a new codebase. Let's focus our effort on writing improved features, and giving them good names, and if that means some of the older functions become less necessary, that's a bonus. > Regards, -- Rowan Collins [IMSoP] --0000000000006dd6c10580d2e905--