Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95155 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75810 invoked from network); 14 Aug 2016 22:41:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Aug 2016 22:41:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.44 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 74.125.82.44 mail-wm0-f44.google.com Received: from [74.125.82.44] ([74.125.82.44:35405] helo=mail-wm0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5C/F4-36656-C73F0B75 for ; Sun, 14 Aug 2016 18:41:01 -0400 Received: by mail-wm0-f44.google.com with SMTP id f65so63930759wmi.0 for ; Sun, 14 Aug 2016 15:41:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RYtitaf2/5sLD0JKOil8t4s7pvb2HmSBVK+kqZS47bQ=; b=fdoQTMgT+eG00uaNblImSkNrW+SVyyzw7zmuwBWC6Of1NadbWOOcIARKYRg7DTJPJF PuP33iRtXcFYSeYyzy6+fbBlkvhtiTN98aGDVjoCe5L2XCVYecpDm52vro+RqFf6xeGq 1H+oEY1uyS/QrUG3A5FNotydNrjtk/652AwJ6GgL+Y/Qh+Q/B0cgFy8ILwMqFjAvlgKd Ol1S5fDmSbvDdWT6c5kTO8K0OZXz3nepolol7aoRx/qduMDvSiH9M3EyfFP9pf3US0Ac 5ww39z0t0qsZJtF3W0Dcx9YGiG86lqKVSf+vox4+lqCK6h/IyT1VwF255uMTYFt6VhRb hISQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RYtitaf2/5sLD0JKOil8t4s7pvb2HmSBVK+kqZS47bQ=; b=RxV4axolUghGP7lvOrDKXS7ZO32ILd5srhiXFDknk9+mjeMTqN3DMvwOICZVSdjWlM ZAMT19cP5UjNYq3WXke9isgqnCPuQOEPaCXVYSgDjTkGoBxrzlTM126Os5UxtH1nB22U ZXm8Z2WRpztqP6YsshhRhz2Eok9LY45w3Sfaz+PuQAJSGl+ZqXw3ukIeQ1apd7MrDwz8 XsIYjD5WxcR1EKTH+Y1ktEiyqthhsHPJQOYonGQ7CmhAjAY2OCLX7yf3bbIqZ58H0O8l p+CvvKnJRJ0OVk8TtCwknjsC3jN35H+MIUsjdaft8XG6vN4p0F9z6u4TGQQysu/HQhST QKsg== X-Gm-Message-State: AEkooushOxkZ2T7sZCsj+vZCim87yKOwQeFqsDdxmBxrJjjMhAdCeN11Yhxr7bqmqO5bSh0v5IBEzbAImdOZ9A== X-Received: by 10.28.87.3 with SMTP id l3mr11607652wmb.71.1471214457069; Sun, 14 Aug 2016 15:40:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.125.242 with HTTP; Sun, 14 Aug 2016 15:40:56 -0700 (PDT) Received: by 10.194.125.242 with HTTP; Sun, 14 Aug 2016 15:40:56 -0700 (PDT) In-Reply-To: <5d38c41d-f189-56d2-be58-d60be3fd1bd9@gmail.com> References: <11f9c899-77b4-da50-f0f7-dc2d16b1829c@gmail.com> <431d5b9c-15ef-9af8-7a55-b776b2dd22ad@gmail.com> <5d38c41d-f189-56d2-be58-d60be3fd1bd9@gmail.com> Date: Mon, 15 Aug 2016 00:40:56 +0200 Message-ID: To: Stanislav Malyshev Cc: PHP Internals List , Guilherme Blanco Content-Type: multipart/alternative; boundary=001a11442a6a1a2712053a0fcff5 Subject: Re: [PHP-DEV] Namespaces internal refactoring From: ocramius@gmail.com (Marco Pivetta) --001a11442a6a1a2712053a0fcff5 Content-Type: text/plain; charset=UTF-8 Hey Stas On 15 Aug 2016 00:35, "Stanislav Malyshev" wrote: > > Hi! > > > A realization that needs to be made is that beginners would be using > > libraries that requires to make valid restrictions, preventing those > > beginners to mess up with code they shouldn't. So even if the use case > > is only valid for 0.01% of code producers, it might be valid for 20%+ of > > consumers. > > I don't think PHP needs more bondage-and-discipline. If beginners "mess > up with code they shouldn't" that is usually, in my experience, a sign > of library authors not serving their use case well, and not implementing > functionality that they need. Either because they didn't know, or > because their opinion about user's needs differs from user's opinion > about their needs. In this case, I'm on the user's side. Hacker's ethos > is doing things other people think can't be done. *You* don't think so, but this happened many times also with non-beginners (what Guilherme was talking about). Conventions are not sufficient to keep a codebase consistent and safe: explicit rules do that. --001a11442a6a1a2712053a0fcff5--